span, a{
    font-family: Outfit;

}
/* Dot Loader */
.dot-loader {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.dot-loader span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-primary, #3A66D4);
    animation: dotBounce 1.2s ease-in-out infinite;
}
.dot-loader span:nth-child(2) { animation-delay: 0.2s; }
.dot-loader span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40%           { transform: scale(1);   opacity: 1;   }
}

/* Calculator Card */
.PriceCalculator {
    max-width: 634px;
    width: 100%;
    margin-right: -138px;
    background-color: #fff;
    background: linear-gradient(220.17deg, #F7FBFF 0%, #F9FAFB 100%);
    padding: 45px 83px 46px 30px;
    height: auto;
    overflow: visible;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    opacity: 1;
}

@keyframes calcFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes calcSlideIn {
    from { transform: translateY(20px); }
    to   { transform: translateY(0); }
}

/* Eyebrow + Heading */
.calc-head {
    margin-bottom: 40px;
}

.calc-eyebrow {
    display: block;
    font-family: Outfit;
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #676B7E;
    margin-bottom: 5px;
}

.PriceCalculatorheading {
    font-family: Outfit;
    font-weight: 700;
    font-size: 22px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #1F2937;
    margin: 0;
    padding: 0;
    border: none;
    text-align: left;
}

/* Cal Form */
.PriceCalculator .cal-form {
    padding-top: 0;
}

/* Form Fields */
.form-fields {
    margin-bottom: 20px;
}
.PriceCalculator .form-fields label {
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #231F20;
    margin-bottom: 8px;
    display: block;
}

/* Select2 */
.PriceCalculator .select2-container {
    width: 100% !important;
}
.PriceCalculator .select2-container--default .select2-selection--single {
    height: 47px;
    border: 1px solid #E9ECF3;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 14px 15px;
    background: #fff;
}
.PriceCalculator .select2-container--default .select2-selection--single:hover {
    border-color: #3A66D4;
}
.PriceCalculator .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    font-size: 14px;
    color: #313946;
    line-height: 100%;
}
.PriceCalculator .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
    right: 10px;
}
.PriceCalculator .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: none;
    width: 16px;
    height: 16px;
    margin-top: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    transition: transform 0.2s ease;
    background: url(../pricing-section/images/dropdown-icon.svg) no-repeat center / contain;
}
.PriceCalculator .select2-container--open .select2-selection--single .select2-selection__arrow b {
    transform: translate(-50%, -50%) rotate(180deg);
}
.PriceCalculator .select2-container--default.select2-container--open .select2-selection--single,
.PriceCalculator .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #3A66D4;
    outline: none;
}
.PriceCalculator .select2-dropdown {
    border: 1px solid #E7EEF9;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    overflow: hidden;
    z-index: 9999;
}
.PriceCalculator .select2-search--dropdown {
    display: none !important;
}
.PriceCalculator .select2-results__options {
    list-style: none !important;
    padding: 4px 0 !important;
    margin: 0 !important;
}
.PriceCalculator .select2-results__option {
    list-style: none !important;
    padding: 9px 14px;
    font-size: 14px;
    color: #1F2937;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #3A66D4 !important;
    color: #fff !important;
}
.select2-container--default .select2-results__option--selected {
    background-color: #F2F5FF !important;
    color: #3A66D4 !important;
}
.form-fields select:not(.select2-hidden-accessible) {
    display: block;
    padding: 15px 15px 13px;
    width: 100%;
    background: #F8FAFC;
    border: 1px solid #D7E4EE;
    border-radius: 5px;
    color: #0F0F0F;
    outline: none;
    max-height: 47px;
    -webkit-appearance: none;
    font-size: 14px;
    line-height: 100%;
}
.form-fields select.select2-hidden-accessible {
    display: none !important;
}

/* Date Input */
.date-input-wrapper {
    position: relative;
}
.date-input {
    width: 100%;
    height: 47px;
    border: 1px solid #E7EEF9;
    border-radius: 6px;
    padding: 14px 15px;
    font-size: 14px;
    color: #313946;
    background: #fff;
    outline: none;
}
.date-input:focus {
    border-color: var(--color-primary, #3A66D4);
    box-shadow: 0 0 0 3px rgba(58, 102, 212, 0.12);
}
.date-input:hover {
    border-color: var(--color-primary, #3A66D4);
}
.date-input:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Academic Tabs */
.academic-tabs {
    display: flex;
    gap: 7px;
    height: 46px;
}

.ac-tab {
    display: inline-block;
    white-space: nowrap;
    flex: 1;
    padding: 10px 14px;
    background: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;

    color: #313946;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #E9ECF3;
}
.ac-tab.active {
    color: var(--color-primary, #3A66D4);
    border-color: #3A66D4;
}
.ac-tab:hover:not(.active) {
    color: var(--color-primary, #3A66D4);
    border-color: #3A66D4;

}

/* Pages Range Slider */
.pages-slider-wrap {
    padding: 8px 0 4px;
}
.pages-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 100px;
    background: #E8ECF0;
    outline: none;
    cursor: pointer;
    background-image: linear-gradient(var(--color-primary, #3A66D4), var(--color-primary, #3A66D4));
    background-size: 5% 100%;
    background-repeat: no-repeat;
}
.pages-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-primary, #3A66D4);
    cursor: pointer;
    box-shadow: 0 0 0 3px rgba(58,102,212,0.15);
    border: 3px solid #fff;
    transition: box-shadow 0.2s ease;
}
.pages-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 5px rgba(58,102,212,0.2);
}
.pages-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-primary, #3A66D4);
    cursor: pointer;
    border: 6px solid #fff;
    box-shadow: 0 0 0 3px rgba(58,102,212,0.15);
}
.pages-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #9CA3AF;
}
.pages-slider-labels #pageCountDisplay {
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #5B6E88;
}
.words-count, .pages-count {
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #5B6E88;
}

/* Price Bar */
.price-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 5px;
    padding: 9px 20px;
    margin: 0 0 20px;
    border: 1px solid #E9ECF3;
}
.price-bar__left,
.price-bar__right {
    display: flex;
    flex-direction: column;
    gap: 4px;
    
}
.price-bar__right {
    align-items: flex-end;
    padding-left: 15px;
    border-left: 1px solid #E9ECF3;
}
.price-bar__label {
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #676B7E;
    margin-bottom: 3px;
}
.price-bar__right .price-bar__label{
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: right;
    color: #676B7E;
    text-transform: lowercase;

}
.PriceCalculator #discount-price {
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #1F2937;
}
.PriceCalculator #discount-price span {
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #1F2937;
    display: flex;
    align-items: center;
}
.per-page-price {
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: right;
    color: #676B7E;
}

/* Place Order Button */
.PriceCalculator .cal-btn {
    width: 100%;
    background: var(--color-primary, #3A66D4);
    height: 41px;
    border-radius: 13px;
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    padding: 11px 0 12px;
}
.PriceCalculator .cal-btn:hover {
    background: var(--color-primary-hover, #2d54b8);
    transform: translateY(-1px);
}

/* Footer text */
.footerTxt {
    font-size: 11px;
    font-weight: 500;
    margin-top: 12px;
    text-align: center;
    color: #9CA3AF;
}

/* Responsive — tablet stacked (calculator becomes full-width) */
@media (max-width: 991px) {
    .PriceCalculator {
        max-width: 100%;
        border-radius: 0;
    }
    .calc-head {
        margin-bottom: 24px;
    }
    .PriceCalculatorheading {
        font-size: 20px;
    }
    .form-fields {
        margin-bottom: 16px;
    }
}

/* Responsive — mobile */
@media (max-width: 575px) {
    .PriceCalculator {
        padding: 28px 20px;
    }
    .calc-head {
        margin-bottom: 20px;
    }
    .PriceCalculatorheading {
        font-size: 19px;
    }
    .form-fields {
        margin-bottom: 20px;
    }
    .calc-eyebrow{
        margin-bottom: 10px;
    }
    .PriceCalculator .form-fields label {
        margin-bottom: 7px;
    }
    .academic-tabs {
        gap: 5px;
    }
    .ac-tab {
        font-size: 12px;
        padding: 10px 4px;
    }
    .pages-slider-wrap {
        padding: 10px 0 6px;
    }
    .price-bar {
        padding: 12px 16px;
        margin-bottom: 16px;
    }
    .PriceCalculator #discount-price,
    .PriceCalculator #discount-price span {
        font-size: 24px;
    }
    .per-page-price {
        font-size: 16px;
    }
    .PriceCalculator .cal-btn {
        height: 46px;
        font-size: 14px;
        margin-top: 4px;
    }
    .footerTxt {
        margin-top: 10px;
    }
}
