/* Page Specific Styles */
.enroll-container {
    padding: 80px 0;
}

.enroll-header {
    text-align: center;
    margin-bottom: 50px;
}

.enroll-badge {
    background: var(--atf-thm-base);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255, 153, 36, 0.2);
}

.enroll-title {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.enroll-subtitle {
    color: #a0a0a5;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Course Preview Card (Left Side) */
.course-preview-card {
    background: #1c1c21;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.course-preview-img {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.course-preview-img img {
    width: 100%;
    height: auto;
    display: block;
}

.course-preview-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.course-preview-desc {
    color: #b0b0b8;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-preview-desc a {
    color: var(--atf-thm-base);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 5px;
}

.course-preview-desc a:hover {
    text-decoration: underline;
}

.course-preview-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px 0;
    margin-bottom: 20px;
}

.course-preview-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b0b0b8;
    font-size: 14px;
    margin-bottom: 10px;
}

.course-preview-meta-item:last-child {
    margin-bottom: 0;
}

.course-preview-meta-item i {
    color: var(--atf-thm-base);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.course-preview-price-box {
    margin-top: 15px;
}

.course-preview-price-label {
    font-size: 14px;
    color: #808085;
    margin-bottom: 5px;
}

.course-preview-price-val {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.course-preview-price-old {
    font-size: 16px;
    color: #808085;
    text-decoration: line-through;
}

.course-preview-price-discount {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Payment Form Card (Right Side) */
.payment-form-card {
    background: #1c1c21;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.secure-banner {
    background: rgba(0, 123, 255, 0.08);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.secure-banner i {
    color: #007bff;
    font-size: 20px;
    margin-top: 2px;
}

.secure-banner-content {
    flex: 1;
}

.secure-banner-title {
    font-size: 14px;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 3px;
}

.secure-banner-text {
    font-size: 12px;
    color: #a0a0a5;
    line-height: 1.4;
}

.form-section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 575px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.input-group-custom {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group-custom label {
    font-size: 13px;
    font-weight: 600;
    color: #b0b0b8;
}

.input-group-custom label span {
    color: #ff0000;
}

.input-group-custom input,
.input-group-custom select {
    background: #141417;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    outline: none;
    font-family: inherit;
    height: 46px;
    /* Explicit height to match */
}

.input-group-custom select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23b0b0b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.input-group-custom select option {
    background: #1c1c21;
    color: #fff;
}

.input-group-custom input:focus,
.input-group-custom select:focus {
    border-color: var(--atf-thm-base);
    box-shadow: 0 0 5px rgba(255, 153, 36, 0.3);
}

/* Nice Select Overrides */
.input-group-custom .nice-select {
    background-color: #1a1a20 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    height: 46px !important;
    line-height: 44px !important;
    color: #fff !important;
    width: 100% !important;
    float: none !important;
    padding-left: 15px !important;
    padding-right: 40px !important;
    font-size: 14px !important;
}

.input-group-custom .nice-select:after {
    border-bottom: 2px solid #b0b0b8 !important;
    border-right: 2px solid #b0b0b8 !important;
    right: 20px !important;
    height: 8px !important;
    width: 8px !important;
}

.input-group-custom .nice-select .current {
    color: #fff !important;
}

.input-group-custom .nice-select .list {
    background-color: #1c1c21 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    margin-top: 5px !important;
}

.input-group-custom .nice-select .option {
    color: #b0b0b8 !important;
    line-height: 40px !important;
    min-height: 40px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.input-group-custom .nice-select .option:hover,
.input-group-custom .nice-select .option.focus,
.input-group-custom .nice-select .option.selected.focus {
    background-color: var(--atf-thm-base) !important;
    color: #fff !important;
}

.input-group-custom .nice-select .option.selected {
    color: var(--atf-thm-base) !important;
    font-weight: 700 !important;
}

/* Payment Type Selector */
.payment-type-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 575px) {
    .payment-type-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.payment-type-card {
    background: #141417;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.payment-type-card.active {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.03);
}

.payment-type-card i {
    font-size: 24px;
    color: var(--atf-thm-base);
    transition: all 0.3s ease;
}

.payment-type-card.active i {
    color: #28a745;
}

.payment-type-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.payment-type-price {
    font-size: 14px;
    font-weight: 600;
    color: #b0b0b8;
}

.payment-type-card.active .payment-type-price {
    color: #28a745;
}

/* Checkboxes */
.checkbox-container-custom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.checkbox-item-custom {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #b0b0b8;
    user-select: none;
}

.checkbox-item-custom input {
    margin-top: 6px;
    cursor: pointer;
}

.checkbox-item-custom a {
    color: var(--atf-thm-base);
    text-decoration: none;
}

.checkbox-item-custom a:hover {
    text-decoration: underline;
}

/* Pay Button styling */
.pay-btn-wrapper {
    margin-bottom: 20px;
}

.pay-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
}

.pay-btn i {
    margin-right: 8px;
}

.bottom-help-link {
    text-align: center;
    font-size: 13px;
}

.bottom-help-link a {
    color: #007bff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.bottom-help-link a:hover {
    text-decoration: underline;
}

/* Read More description state */
.course-preview-desc-full {
    display: none;
}

.course-preview-desc.expanded .course-preview-desc-full {
    display: inline;
}

.course-preview-desc.expanded .course-preview-desc-short {
    display: none;
}

/* Center course preview card on mobile */
@media (max-width: 767px) {
    .course-preview-card {
        text-align: center !important;
    }
    
    .course-preview-meta-item {
        justify-content: center !important;
    }
    
    .course-preview-price-val {
        justify-content: center !important;
    }
}

/* Custom styling for Batch select to align with enroll page labels and form grid */
.atf-choose-input label {
    font-size: 13px;
    font-weight: 600;
    color: #b0b0b8;
    margin-bottom: 8px;
    display: inline-block;
}

.atf-choose-input label span {
    color: #ff0000;
}

.atf-choose-input .nice-select {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
