/* Sign Up Page Styles */

.signup-view {
    width: 75%;
    margin: 5% auto auto;
}

.signup-view .row {
    display: flex;
}

.signup-sidebar {
    padding: 15px 20px;
    color: #fff;
    text-align: center;
}

.signup-sidebar h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.signup-sidebar p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.signup-steps {
    text-align: left;
    padding: 0 15px;
}

.signup-steps .step {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 6px;
    transition: all 0.3s;
    opacity: 0.6;
}

.signup-steps .step.active {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.signup-steps .step.completed {
    opacity: 0.85;
}

.signup-steps .step-number {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-right: 10px;
    flex-shrink: 0;
}

.signup-steps .step.active .step-number {
    background: #fff;
    color: #29B481;
}

.signup-steps .step.completed .step-number {
    background: #fff;
    color: #29B481;
}

.signup-steps .step-text {
    font-size: 14px;
    color: #fff;
}

.login-link-section {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.login-link-section p {
    font-size: 13px;
    margin-bottom: 8px;
}

.back-to-login {
    display: inline-block;
    padding: 6px 20px;
    border: 2px solid #fff;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s;
}

.back-to-login:hover {
    background: #fff;
    color: #29B481;
    text-decoration: none;
}

/* Form Styles */
.signup-details {
    padding: 15px 25px;
    max-height: 80vh;
    overflow-y: auto;
}

.step-title {
    color: #29B481;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #29B481;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.form-col {
    flex: 1;
}

.form-col label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
    font-weight: 600;
}

.required {
    color: #e74c3c;
}

.signup-input {
    width: 100%;
    outline: none;
    font-size: 14px;
    color: #3c3e44;
    padding: 8px 10px;
    margin: 0;
    border: none;
    border-bottom: 2px solid #cecfd3;
    -webkit-appearance: none;
    transition: 0.3s;
    background: transparent;
}

.signup-input:focus {
    border-bottom: 2px solid #29B481;
    box-shadow: 0 1px 0 0 #29B481;
}

.signup-select {
    cursor: pointer;
    background: #fff;
}

/* Student Cards */
.step2-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.step2-header .step-title {
    margin-bottom: 0;
}

.student-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 12px;
    border-left: 3px solid #29B481;
}

.student-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.student-label {
    font-weight: 600;
    color: #29B481;
    font-size: 14px;
}

.remove-student-btn {
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: 0.3s;
}

.remove-student-btn:hover {
    background: #c0392b;
}

.add-student-btn {
    background: transparent;
    color: #29B481;
    border: 2px solid #29B481;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.add-student-btn:hover {
    background: #29B481;
    color: #fff;
}

/* Action Buttons */
.step-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding-top: 10px;
}

.signup-button {
    font-size: 13px;
    border: 2px solid #29B481;
    outline: none;
    cursor: pointer;
    border-radius: 20px;
    padding: 8px 25px;
    transition: 0.3s;
}

.signup-button.next-btn,
.signup-button.submit-btn {
    background: #29B481;
    color: #fff;
}

.signup-button.next-btn:hover,
.signup-button.submit-btn:hover {
    background: #1e9b6b;
    border-color: #1e9b6b;
}

.signup-button.back-btn {
    background: #fff;
    color: #29B481;
}

.signup-button.back-btn:hover {
    background: #f0f0f0;
}

/* Responsive */
@media(max-width: 768px) {
    .signup-view {
        width: 95%;
        margin: 3% auto auto;
    }

    .signup-view .row {
        display: block;
    }

    .form-row {
        flex-direction: column;
        gap: 5px;
    }

    .step2-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .signup-details {
        max-height: none;
    }
}

/* Allergy Checkboxes */
.allergy-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.allergy-check-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-weight: normal;
    font-size: 12px;
    margin-bottom: 0;
    transition: background-color 0.2s;
}

.allergy-check-item:hover {
    background-color: #e9e9e9;
}

.allergy-check-item input[type="checkbox"] {
    margin: 0;
}

.form-col.full-width {
    flex: 1 1 100%;
}

/* OTP Step */
.otp-info {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

#signupOtp {
    letter-spacing: 4px;
    font-size: 16px;
    text-align: center;
    max-width: 250px;
}

/* Step Actions Layout */
.step-actions .add-student-btn {
    margin-bottom: 0;
}

.step-actions-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-actions {
    flex-wrap: wrap;
}
