/* Account Pages CSS */

/* Login Page Styles */
.login-section {
    min-height: 70vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.login-form-wrapper {
    position: relative;
    z-index: 1;
}

.login-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23007bff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.login-section .card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-section .input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.login-section .form-control {
    border-left: none;
}

.login-section .form-control:focus {
    box-shadow: none;
    border-color: #007bff;
}

.login-section .input-group:focus-within .input-group-text {
    border-color: #007bff;
    background-color: #e3f2fd;
}

.divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

.divider-text {
    background: white;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
}

/* Register Page Styles */
.register-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.register-form-wrapper {
    position: relative;
    z-index: 1;
}

.register-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23007bff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.register-section .card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.register-section .input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.register-section .form-control {
    border-left: none;
}

.register-section .form-control:focus {
    box-shadow: none;
    border-color: #007bff;
}

.register-section .input-group:focus-within .input-group-text {
    border-color: #007bff;
    background-color: #e3f2fd;
}

.password-strength-wrapper {
    margin-top: 5px;
}

.password-strength-bar {
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
    background-color: #dc3545;
}

.password-strength-fill.text-warning {
    background-color: #ffc107;
}

.password-strength-fill.text-info {
    background-color: #17a2b8;
}

.password-strength-fill.text-success {
    background-color: #28a745;
}



/* Profile Page Styles */
.profile-section {
    background: #f8f9fa;
}

.profile-avatar img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-section .card {
    transition: all 0.3s ease;
}

.profile-section .card:hover {
    transform: translateY(-2px);
}

.profile-section .input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.profile-section .form-control {
    border-left: none;
}

.profile-section .form-control:focus {
    box-shadow: none;
    border-color: #007bff;
}

.profile-section .input-group:focus-within .input-group-text {
    border-color: #007bff;
    background-color: #e3f2fd;
}

.profile-section .form-control[readonly] {
    background-color: #e9ecef;
}

/* Page Header Styles */
.page-header {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #dee2e6;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .login-section, .register-section {
        padding: 30px 0;
    }
    
    .card-body {
        padding: 2rem !important;
    }
    
    .page-title {
        font-size: 2rem;
    }

    .profile-avatar img {
        width: 100px;
        height: 100px;
    }
}
