#apigold-calculator {
    max-width: 420px;
    margin: auto;
    background: #545454;
    padding: 20px;
    border-radius: 12px;
    font-family: Arial, sans-serif;
}

.ag-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.ag-tabs.small button {
    font-size: 13px;
}

.ag-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: #ddd;
    cursor: pointer;
    font-weight: bold;
    border-radius: 10px;
}
div#ag-message {
    display: flex;
    justify-content: center;
}
.ag-tab.active {
    background: #000000;
    color: #fff;
}
button.ag-tab:hover {
    background-color: #c4ab6b;
}
.ag-prices {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.ag-main-price {
    flex: 2;
    background: #c4ab6b;
    padding: 5px;
    text-align: center;
    color: #000000;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
button#ag-submit {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    width: 80%;
    border-radius: 10px;
    height: 50px;
    text-transform: uppercase;
}
button#ag-submit:hover {
    background: #c4ab6b;
    color: #fff;
    border: 1px solid #c4ab6b;
}
button.ag-tab {
    color: #000;
}
.ag-main-price strong {
    font-size: 32px;
    display: block;
}

.ag-side-prices {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ag-side-prices div {
    background: #eee;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
}

.ag-form-row {
    display: flex;
    gap: 10px;
}

.ag-form-row select, .ag-form-row input, #ag-contact input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    text-align: center;
    font-weight: 600;
    color: #000000;
}

.ag-total {
    text-align: center;
    margin: 15px 0 0;
    font-size: 18px;
}

.ag-total strong {
    display: block;
    font-size: 40px;
    color: #ffffff;
    line-height: 1.2;
}
#ag-contact button {
    width: 100%;
    padding: 12px;
    background: #7a1c1c;
    color: #fff;
    border: none;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
}

.ag-note {
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
}
.ag-client-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.ag-client-data input {
    padding: 5px 10px !important;
    height: 40px;
    border-radius: 10px;
}
#apigold-calculator h3 {
    text-align: center;
}

#ag-message .success{
    padding: 10px;
    margin-top: 10px;
    color: green;
    text-align: center;
    background: #fff;
    border-radius: 5px;
}

#ag-message .fail{
    padding: 10px;
    margin-top: 10px;
    color: red;
    text-align: center;
    background: #fff;
    border-radius: 5px;
}