/*  */
.techno-coa-csrform-year-group-primary,.techno-coa-csrform-year-group-sixth_form,.techno-coa-csrform-year-group-shariah
{
	display: none;
}










/* Techno COA CSR Form - Main Styles */
/* Two-column layout */
.techno-coa-csrform-wrapper {
    display: flex;
    gap: 30px;
    /*max-width: 1400px;*/
    margin: 0 auto;
    padding: 20px;
}

.techno-coa-csrform-form-wrapper {
    flex: 2;
    min-width: 0; /* Prevents overflow */
}

.techno-coa-csrform-summary-sidebar {
    flex: 1;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 20px;
    height: fit-content;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Summary sections */
.techno-coa-csrform-summary-sidebar h3 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #153256;
    color: #153256;
}

.techno-coa-csrform-summary-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.techno-coa-csrform-summary-section h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.techno-coa-csrform-summary-section .empty-message {
    color: #999;
    font-size: 12px;
    font-style: italic;
    margin: 5px 0;
}

.techno-coa-csrform-summary-details {
    font-size: 13px;
    line-height: 1.5;
}

.techno-coa-csrform-summary-details p {
    margin: 5px 0;
}

.techno-coa-csrform-summary-details .student-name {
    font-weight: 600;
    color: #153256;
    margin-top: 8px;
}

.techno-coa-csrform-summary-details .student-name:first-child {
    margin-top: 0;
}

.techno-coa-csrform-summary-details .subject-list {
    padding-left: 15px;
    margin: 5px 0;
}

.techno-coa-csrform-summary-details .subject-list li {
    margin: 2px 0;
}

/* Total section */
.techno-coa-csrform-summary-total {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #153256;
}

.techno-coa-csrform-summary-total h4 {
    margin: 0 0 5px 0;
    color: #153256;
    font-size: 16px;
}

.techno-coa-csrform-total-amount {
    font-size: 24px;
    font-weight: bold;
    color: #6CB237;
}

/* Responsive */
@media (max-width: 768px) {
    .techno-coa-csrform-wrapper {
        flex-direction: column;
    }
    
    .techno-coa-csrform-summary-sidebar {
        position: static;
        order: -1;
        margin-bottom: 20px;
    }
}

/* Badge for completed sections */
.techno-coa-csrform-summary-section.completed h4 {
    color: #6CB237;
}

.techno-coa-csrform-summary-section.completed h4::before {
    content: "✓ ";
    color: #6CB237;
}
/* Subscription Error Styling */
.techno-coa-csrform-subscription-student.techno-coa-csrform-subscription-error {
    border: 2px solid #DC001E;
    background: rgba(220, 0, 30, 0.02);
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 12px;
}

.techno-coa-csrform-subscription-error-message {
    background: #DC001E;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    animation: techno-coa-csrform-shake 0.5s ease;
}

@keyframes techno-coa-csrform-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
/* Discount and Pricing Styling */
.techno-coa-csrform-discount-notice {
    background: #e8f5e9;
    border-left: 4px solid #6CB237;
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 5px;
}

.techno-coa-csrform-discount-notice p {
    margin: 0;
    color: #2e7d32;
}

.techno-coa-csrform-original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
    margin-right: 8px;
}

.techno-coa-csrform-discounted-price {
    color: #DC001E;
    font-weight: bold;
    font-size: 24px;
}

.techno-coa-csrform-save-badge {
    display: inline-block;
    background: #6CB237;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
    vertical-align: middle;
}

.techno-coa-csrform-plan-card .techno-coa-csrform-plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #153256;
}

.techno-coa-csrform-plan-card .techno-coa-csrform-plan-price small {
    font-size: 14px;
    font-weight: 400;
    color: #888;
}
/* Additional subjects styling */
.techno-coa-csrform-additional-info {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 5px;
}

.techno-coa-csrform-additional-info p {
    margin: 5px 0;
}

.techno-coa-csrform-extra-badge {
    display: inline-block;
    background: #ff9800;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: 8px;
}

.techno-coa-csrform-price-breakdown {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e0e0e0;
    font-size: 12px;
    color: #666;
}

.techno-coa-csrform-price-breakdown small {
    font-size: 11px;
}

.techno-coa-csrform-discount-notice {
    background: #e8f5e9;
    border-left: 4px solid #6CB237;
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 5px;
}

.techno-coa-csrform-discount-notice p {
    margin: 0;
    color: #2e7d32;
}
/* Year Group Error Styling */
.techno-coa-csrform-year-group-section.techno-coa-csrform-year-group-error {
    border: 2px solid #DC001E;
    background: rgba(220, 0, 30, 0.02);
    transition: all 0.3s ease;
}

.techno-coa-csrform-year-group-error-message {
    background: #DC001E;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    animation: techno-coa-csrform-shake 0.5s ease;
}

@keyframes techno-coa-csrform-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
/* Email status styling */
.techno-coa-csrform-email-status {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    min-height: 18px;
}

.techno-coa-csrform-email-status span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.techno-coa-csrform-main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    font-family: "Urbanist", Sans-serif !important;
}

.techno-coa-csrform-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 32px;
    position: relative;
}

.techno-coa-csrform-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 32px;
}

/* Progress Steps */
.techno-coa-csrform-progress {
    margin-bottom: 40px;
}

.techno-coa-csrform-step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.techno-coa-csrform-step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.techno-coa-csrform-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 0 10px;
}

.techno-coa-csrform-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.techno-coa-csrform-step.active .techno-coa-csrform-step-number {
    background: #6CB237;
    color: #fff;
    border-color: #6CB237;
}

.techno-coa-csrform-step.completed .techno-coa-csrform-step-number {
    background: #6CB237;
    color: #fff;
    border-color: #6CB237;
}

.techno-coa-csrform-step-label {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.techno-coa-csrform-step.active .techno-coa-csrform-step-label {
    color: #1a1a1a;
    font-weight: 600;
}

/* Step Content */
.techno-coa-csrform-step-content {
    display: none;
}

.techno-coa-csrform-step-content.active {
    display: block;
}

/* Form Fields */
.techno-coa-csrform-field-row {
    margin-bottom: 20px;
}

.techno-coa-csrform-row-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.techno-coa-csrform-row-triple {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.techno-coa-csrform-field-group {
    position: relative;
}

.techno-coa-csrform-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.techno-coa-csrform-required {
    color: #DC001E;
}

.techno-coa-csrform-input,
.techno-coa-csrform-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.techno-coa-csrform-input:focus,
.techno-coa-csrform-select:focus {
    outline: none;
    border-color: #6CB237;
    box-shadow: 0 0 0 3px rgba(108, 178, 55, 0.1);
}

.techno-coa-csrform-input.techno-coa-csrform-error-field,
.techno-coa-csrform-select.techno-coa-csrform-error-field {
    border-color: #DC001E;
}

.techno-coa-csrform-input.techno-coa-csrform-success-field,
.techno-coa-csrform-select.techno-coa-csrform-success-field {
    border-color: #6CB237;
}

.techno-coa-csrform-error {
    display: block;
    font-size: 12px;
    color: #DC001E;
    margin-top: 4px;
    min-height: 18px;
}

/* Buttons */
.techno-coa-csrform-btn {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.techno-coa-csrform-btn-primary {
    background: #153256;
    color: #fff;
}

.techno-coa-csrform-btn-primary:hover {
    background: #1e4678;
}

.techno-coa-csrform-btn-secondary {
    background: transparent;
    color: #153256;
    border: 1px solid #153256;
}

.techno-coa-csrform-btn-secondary:hover {
    background: rgba(21, 50, 86, 0.05);
}

.techno-coa-csrform-btn-add-student {
    background: #6CB237;
    color: #fff;
    padding: 12px 24px;
    margin-bottom: 20px;
}

.techno-coa-csrform-btn-add-student:hover {
    background: #5a9a2b;
}

.techno-coa-csrform-btn-remove-student {
    background: transparent;
    color: #DC001E;
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #DC001E;
    border-radius: 6px;
    cursor: pointer;
}

.techno-coa-csrform-btn-remove-student:hover {
    background: rgba(220, 0, 30, 0.05);
}

.techno-coa-csrform-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.techno-coa-csrform-button-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Student Entry */
.techno-coa-csrform-student-entry {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.techno-coa-csrform-student-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.techno-coa-csrform-student-icon {
    margin-right: 12px;
}

.techno-coa-csrform-student-title {
    font-size: 18px;
    font-weight: 600;
    color: #153256;
    margin: 0;
}

.techno-coa-csrform-divider {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

/* Year Groups */
.techno-coa-csrform-year-group-section {
    margin-bottom: 32px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.techno-coa-csrform-year-group-header {
    margin-bottom: 16px;
}

.techno-coa-csrform-year-group-header h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #153256;
}

.techno-coa-csrform-year-group-header span {
    font-size: 13px;
    color: #666;
}
/* Year Card and Subject Card transitions */
.techno-coa-csrform-year-card,
.techno-coa-csrform-subject-card {
    transition: all 0.2s ease;
}

.techno-coa-csrform-year-card .techno-coa-csrform-year-card-icon svg,
.techno-coa-csrform-subject-card .techno-coa-csrform-subject-checkbox svg {
    transition: all 0.15s ease;
}

/* Pulse animation for core subjects */
@keyframes techno-coa-csrform-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.techno-coa-csrform-subject-card.techno-coa-csrform-core {
    animation: techno-coa-csrform-pulse 0.3s ease;
}

/* Hover effects */
.techno-coa-csrform-year-card:hover,
.techno-coa-csrform-subject-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.techno-coa-csrform-year-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.techno-coa-csrform-year-card {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.techno-coa-csrform-year-card:hover {
    border-color: #6CB237;
}

.techno-coa-csrform-year-card.techno-coa-csrform-selected {
    border-color: #6CB237;
    background: rgba(108, 178, 55, 0.05);
}

.techno-coa-csrform-year-card-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.techno-coa-csrform-year-card-title {
    font-weight: 600;
    color: #333;
}

/* Subjects */
.techno-coa-csrform-subject-section {
    margin-bottom: 24px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.techno-coa-csrform-subject-section h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #153256;
}

.techno-coa-csrform-subject-section h4 {
    margin: 20px 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.techno-coa-csrform-subject-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.techno-coa-csrform-subject-card {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.techno-coa-csrform-subject-card:hover {
    border-color: #6CB237;
}

.techno-coa-csrform-subject-card.techno-coa-csrform-selected {
    border-color: #6CB237;
    background: rgba(108, 178, 55, 0.05);
}

.techno-coa-csrform-subject-card.techno-coa-csrform-core {
    background: #f0f7eb;
}

.techno-coa-csrform-subject-card.techno-coa-csrform-core.techno-coa-csrform-selected {
    background: #e3f0d8;
}

.techno-coa-csrform-subject-checkbox {
    margin-right: 12px;
}

.techno-coa-csrform-subject-name {
    font-weight: 500;
    color: #333;
}

.techno-coa-csrform-subject-cost {
    margin-left: 8px;
    font-size: 13px;
    color: #6CB237;
    font-weight: 600;
	display: none;
}

.techno-coa-csrform-subject-badge {
    margin-left: 8px;
    padding: 2px 8px;
    background: #e0e0e0;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
}

.techno-coa-csrform-subject-badge.techno-coa-csrform-badge-core {
    background: #6CB237;
    color: #fff;
}

/* Subscription */
.techno-coa-csrform-subscription-student {
    margin-bottom: 32px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.techno-coa-csrform-subscription-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.techno-coa-csrform-subscription-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #153256;
}

.techno-coa-csrform-plan-section {
    margin-bottom: 24px;
}

.techno-coa-csrform-plan-section h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #666;
}

.techno-coa-csrform-plan-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.techno-coa-csrform-plan-card {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.techno-coa-csrform-plan-card:hover {
    border-color: #153256;
}

.techno-coa-csrform-plan-card.techno-coa-csrform-selected {
    border-color: #153256;
    background: rgba(21, 50, 86, 0.05);
}

.techno-coa-csrform-plan-name {
    font-size: 16px;
    font-weight: 600;
    color: #153256;
    margin-bottom: 8px;
}

.techno-coa-csrform-plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #6CB237;
}

.techno-coa-csrform-plan-price small {
    font-size: 14px;
    font-weight: 400;
    color: #888;
}

/* Loading */
.techno-coa-csrform-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 100;
}

.techno-coa-csrform-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f0f0;
    border-top-color: #6CB237;
    border-radius: 50%;
    animation: techno-coa-csrform-spin 1s linear infinite;
}

@keyframes techno-coa-csrform-spin {
    to { transform: rotate(360deg); }
}

/* Success */
.techno-coa-csrform-success {
    text-align: center;
    padding: 40px 20px;
}

.techno-coa-csrform-success h2 {
    color: #6CB237;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .techno-coa-csrform-container {
        padding: 20px;
    }
    
    .techno-coa-csrform-title {
        font-size: 24px;
    }
    
    .techno-coa-csrform-row-dual,
    .techno-coa-csrform-row-triple {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .techno-coa-csrform-step-label {
        display: none;
    }
    
    .techno-coa-csrform-button-wrapper {
        flex-direction: column;
        gap: 12px;
    }
    
    .techno-coa-csrform-btn {
        width: 100%;
    }
}
