/* RDC Badge Service Calculator - Exact Figma Implementation */


/* Calculator Wrapper */
.calculator-wrapper {
    max-width: 460px;
}

/* Calculator Container - Exact Figma Specs */
.calculator-container {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Main Content Area - Dynamic Height */
.calculator-main {
    padding: 24px;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Badge Service Section */
.badge-service-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 412px;
}

/* Section Title */
.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #344054;
    margin: 0;
}

/* Badge Option */
.badge-option {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #EAECF0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 126px;
}

.badge-option.selected {
    background: #F9FDFF;
    border-color: #178BC1;
}

/* Badge Image */
.badge-img {
    width: 100px;
    min-width: 100px;
    height: auto;
    border-radius: 8px 0 0 8px;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.badge-option.selected .badge-img {
    background: rgba(23, 139, 193, 0.15);
}

.badge-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Badge Content */
.badge-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.badge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.badge-title-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #344054;
}

.badge-option.selected .badge-title {
    color: #0A5D85;
}

/* Badge Pill */
.badge-pill {
    background: #178BC1;
    color: #FFFFFF;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    padding: 2px 8px;
    border-radius: 16px;
}

/* Radio Circle */
.radio-circle {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1px solid #D0D5DD;
    border-radius: 10px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.radio-circle.selected {
    background: #0C6A96;
    border-color: #0C6A96;
}

.radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
}

.radio-circle.selected .radio-dot {
    background: #FFFFFF;
}

/* Badge Description */
.badge-desc {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #667085;
    margin: 0;
}

.badge-option.selected .badge-desc {
    color: #178BC1;
}

/* More Options Button */
.more-options-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #344054;
}

.more-options-btn:hover {
    color: #178BC1;
}

.more-options-btn .chevron {
    transition: transform 0.3s ease;
}

.more-options-btn.expanded .chevron {
    transform: rotate(180deg);
}

/* More Options List */
.more-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Delivery Frequency Section */
.delivery-frequency-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

/* Delivery Option */
.delivery-option {
    display: flex;
    gap: 8px;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #EAECF0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delivery-option.selected {
    background: #F9FDFF;
    border-color: #178BC1;
}

.delivery-radio {
    padding-top: 2px;
}

.delivery-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.delivery-title-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.delivery-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #344054;
}

.delivery-option.selected .delivery-title {
    color: #0A5D85;
}

.delivery-desc {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #667085;
    margin: 0;
}

.delivery-option.selected .delivery-desc {
    color: #178BC1;
}

/* Small Radio Circle for Delivery */
.radio-circle-sm {
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.radio-circle-sm.selected {
    background: #0C6A96;
    border-color: #0C6A96;
}

.radio-dot-sm {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
}

.radio-circle-sm.selected .radio-dot-sm {
    background: #FFFFFF;
}

/* Form Section */
.form-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 24px;
}

/* Form Row Single */
.form-row-single {
    display: flex;
    gap: 24px;
}

/* Form Row Double */
.form-row-double {
    display: flex;
    gap: 14px;
}

/* Input Field */
.input-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

/* Input Label */
.input-label {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #344054;
}

.required {
    color: #178BC1;
}

/* Input Control */
.input-control {
    width: 100%;
    padding: 10px 14px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #101828;
    transition: all 0.2s ease;
}

.input-control::placeholder {
    color: #667085;
}

.input-control:focus {
    outline: none;
    border-color: #178BC1;
    box-shadow: 0 0 0 4px rgba(23, 139, 193, 0.1);
}

/* Small Input Control */
.input-control-sm {
    padding: 8px 12px;
}

/* Calculator Footer */
.calculator-footer {
    background: #FFFFFF;
    border-top: 1px solid #EAECF0;
    border-radius: 0 0 12px 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Calculate Button */
.btn-calculate {
    width: 412px;
    height: 44px;
    background: #0C6A96;
    border: 1px solid #0C6A96;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-calculate:hover {
    background: #0A5D85;
    border-color: #0A5D85;
    color: #FFFFFF;
}

.btn-calculate:active {
    transform: translateY(1px);
}

.btn-calculate:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(12, 106, 150, 0.2);
}

/* Request Quote Button */
.btn-request-quote {
    width: 412px;
    height: 44px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #344054;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-request-quote:hover {
    background: #F9FAFB;
    border-color: #98A2B3;
}

.btn-request-quote:active {
    transform: translateY(1px);
}

.btn-request-quote:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(152, 162, 179, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 500px) {
    .calculator-container {
        max-width: 100%;
    }

    .calculator-main {
        padding: 16px;
    }

    .badge-service-section {
        width: 100%;
    }

    .badge-img {
        width: 80px;
        min-width: 80px;
    }

    .calculator-footer {
        padding: 16px;
    }

    .btn-calculate,
    .btn-request-quote {
        width: 100%;
    }

    .form-row-double {
        flex-direction: column;
        gap: 24px;
    }
}