/* Login Register Toggle Styles */
.modern-login-register-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: none !important;
    min-height: auto !important;
    display: block !important;
    align-items: unset !important;
    justify-content: unset !important;
    padding-top: 20px !important;
}

.modern-forms-wrapper {
    position: relative;
    width: 100%;
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    max-width: none !important;
    padding: 0 !important;
}


/* Form Cards */
.modern-form-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    display: none;
    transition: all 0.3s ease;
    width: 100%;
}

.modern-form-card.active,
.lost-password-card {
    display: block;
}


/* Form Header */
.form-card-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-icon {
 
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: none !important;
	margin-top: 50px;
}
.form-icon svg {
	 width: 70px;
    height: 70px;
}
.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px;
}

.form-subtitle {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
}

/* Form Fields */
.modern-form {
    width: 100%;
}

.form-field-group {
    margin-bottom: 24px;
}

.modern-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
    margin-left: 4px;
}

.input-wrapper {
    position: relative;
}

.modern-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    color: #2c3e50;
    background: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.modern-input:focus {
    outline: none;
    border-color: #4D89C7;
    box-shadow: 0 0 0 3px rgba(77, 137, 199, 0.1);
}

.modern-input::placeholder {
    color: #adb5bd;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}

.modern-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #6c757d;
}

.modern-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.modern-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #4D89C7;
    border-color: #4D89C7;
}

.modern-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-password-link {
    color: #2172DD;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #357abd;
    text-decoration: underline;
}

/* Buttons */
.modern-button {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #4D89C7, #6BA3E8);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(77, 137, 199, 0.3);
}

.modern-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(77, 137, 199, 0.4);
}

.modern-button:active {
    transform: translateY(0);
}

/* Toggle Links */
.form-toggle-link {
    text-align: center;
    margin-top: 24px;
    padding-top: 0px;
    border-top: 1px solid #e9ecef;
}

.form-toggle-link p {
    margin: 10px 0px 0px 0px;
    color: #6c757d;
    font-size: 14px;
}

.toggle-link {
    color: #2172DD;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.toggle-link:hover {
    color: #357abd;
    text-decoration: underline;
}

/* Password Info */
.password-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #6c757d;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-login-register-container {
        padding: 16px;
    }
    
    .modern-form-card {
        padding: 24px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .toggle-tab {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .modern-form-card {
        padding: 20px;
    }
    
    .form-icon {
        width: 50px;
        height: 50px;
    }
    
    .form-title {
        font-size: 22px;
    }
    
    .modern-input {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .modern-button {
        padding: 14px 20px;
        font-size: 14px;
    }
}

/* Animation for form switching */
.modern-form-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modern-form-card.active {
    opacity: 1;
    transform: translateY(0);
}

/* Focus states for accessibility */
.toggle-link:focus,
.modern-button:focus {
    outline: 2px solid #4D89C7;
    outline-offset: 2px;
}

/* Loading state for buttons */
.modern-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.modern-button:disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(77, 137, 199, 0.3);
}
