/* Sign Up Modal Styles */
.signup-modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
    height: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.signup-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1060;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1e40af;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.signup-modal-close:hover {
    background: #1e40af;
    color: white;
    transform: rotate(90deg);
}

/* Left Panel - Faculty Showcase */
.signup-left-panel {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.signup-hero-content {
    text-align: center;
    width: 100%;
}

.signup-hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.signup-hero-subtitle {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.5;
}

.signup-faculty-showcase {
    margin-top: 20px;
}

.signup-faculty-img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.signup-faculty-img:hover {
    transform: translateY(-5px);
}

.signup-faculty-caption {
    font-size: 0.875rem;
    opacity: 0.85;
    margin: 0;
}

/* Right Panel - Form */
.signup-right-panel {
    background: #ffffff;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.signup-form-wrapper {
    padding: 30px 35px;
    width: 100%;
    overflow-y: auto;
    max-height: 600px;
}

.signup-header {
    text-align: center;
    margin-bottom: 20px;
}

.signup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 5px;
}

.signup-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

/* Form Styles */
.signup-form .mb-3 {
    margin-bottom: 0.875rem !important;
}

.signup-form .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.375rem;
    font-size: 0.8125rem;
}

.signup-input {
    padding: 0.625rem 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.signup-input:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    outline: none;
}

.signup-input.is-invalid {
    border-color: #ef4444;
}

.signup-input.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Password Wrapper */
.password-wrapper {
    position: relative;
}

.password-wrapper .signup-input {
    padding-right: 2.5rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease;
    z-index: 10;
}

.password-toggle:hover {
    color: #1e40af;
}

/* Form Check */
.signup-form .form-check-input {
    border: 2px solid #e5e7eb;
    width: 16px;
    height: 16px;
    margin-top: 0.125rem;
}

.signup-form .form-check-input:checked {
    background-color: #1e40af;
    border-color: #1e40af;
}

.signup-form .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.signup-form .form-check-label {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-left: 0.375rem;
}

.signup-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
}

.signup-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-signup-submit {
    padding: 0.75rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-signup-submit:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Social Divider */
.signup-divider {
    text-align: center;
    margin: 0.875rem 0;
    position: relative;
}

.signup-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.signup-divider span {
    background: white;
    padding: 0 0.75rem;
    color: #9ca3af;
    font-size: 0.8125rem;
    position: relative;
    z-index: 1;
}

/* Google Button */
.btn-google-signup {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.625rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.btn-google-signup:hover {
    border-color: #1e40af;
    background: #f9fafb;
    color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Footer */
.signup-footer {
    text-align: center;
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    border-top: 1px solid #e5e7eb;
}

.signup-footer p {
    color: #6b7280;
    font-size: 0.8125rem;
    margin: 0;
}

.signin-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
}

.signin-link:hover {
    text-decoration: underline;
}

/* Validation Styles */
.invalid-feedback {
    display: none;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.25rem;
}

.was-validated .signup-input:invalid ~ .invalid-feedback,
.signup-input.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Scrollbar Styles */
.signup-form-wrapper::-webkit-scrollbar {
    width: 6px;
}

.signup-form-wrapper::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.signup-form-wrapper::-webkit-scrollbar-thumb {
    background: #1e40af;
    border-radius: 3px;
}

.signup-form-wrapper::-webkit-scrollbar-thumb:hover {
    background: #1e3a8a;
}

/* Responsive */
@media (max-width: 991.98px) {
    .signup-modal-content {
        height: 90vh;
    }

    .signup-left-panel {
        display: none;
    }

    .signup-form-wrapper {
        padding: 25px 20px;
        max-height: 90vh;
    }
}

@media (max-width: 576px) {
    .signup-modal-content {
        height: 100vh;
        border-radius: 0;
    }

    .signup-form-wrapper {
        padding: 20px 15px;
        max-height: 100vh;
    }

    .signup-title {
        font-size: 1.25rem;
    }
}
