/* 
 * Account-specific styles for Raha Bandishan
 */

/* Auth pages shared styles */
.auth-form-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.auth-form-container .auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form-container .auth-header img {
    width: 80px;
    margin-bottom: 1rem;
}

.auth-form-container .auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* Login form */
.login-form .form-check {
    margin-bottom: 1rem;
}

.login-form .forgot-password {
    display: block;
    text-align: right;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.login-form .social-login {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.login-form .social-login-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.login-form .social-login-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-form .social-login-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.login-form .social-login-button.facebook {
    background-color: #3b5998;
}

.login-form .social-login-button.google {
    background-color: #dd4b39;
}

.login-form .social-login-button.twitter {
    background-color: #1da1f2;
}

/* Register form */
.register-form .password-strength {
    height: 5px;
    border-radius: 3px;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    background-color: #e9ecef;
    overflow: hidden;
}

.register-form .password-strength-meter {
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
}

.register-form .password-strength-meter.weak {
    width: 33%;
    background-color: var(--danger-color);
}

.register-form .password-strength-meter.medium {
    width: 66%;
    background-color: var(--warning-color);
}

.register-form .password-strength-meter.strong {
    width: 100%;
    background-color: var(--success-color);
}

.register-form .terms-checkbox {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Profile */
.profile-header {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.profile-avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.profile-avatar-container .edit-avatar {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-avatar-container .edit-avatar:hover {
    background-color: #0a58ca;
}

.profile-info {
    max-width: 600px;
    margin: 0 auto;
}

.profile-nav {
    margin-bottom: 2rem;
}

.profile-nav .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

/* Profile Edit Form */
.profile-form {
    max-width: 800px;
    margin: 0 auto;
}

.profile-form .nav-tabs {
    margin-bottom: 0;
}

.profile-form .form-section {
    background-color: white;
    padding: 2rem;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.profile-form .avatar-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* Password Reset */
.password-reset-form {
    max-width: 500px;
    margin: 0 auto;
}

.password-reset-success {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
    text-align: center;
}

.password-reset-success i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

/* RTL specific adjustments for accounts */
body[dir="rtl"] .login-form .forgot-password {
    text-align: left;
}

body[dir="rtl"] .profile-avatar-container .edit-avatar {
    right: auto;
    left: 0;
}