/* Account Pages Styles */

.account-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.account-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Account Tabs */
.account-tabs {
    display: flex;
    background-color: #f1f1f1;
}

.account-tabs .tab-btn {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.account-tabs .tab-btn:hover {
    color: #f8c291;
}

.account-tabs .tab-btn.active {
    background-color: #fff;
    color: #f8c291;
}

/* Tab Content */
.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h2 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: #333;
    text-align: center;
}

/* Form Styles */
.account-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #f8c291;
    outline: none;
}

.password-hint {
    font-size: 0.8rem;
    color: #999;
    margin-top: 5px;
}

/* Checkbox Styles */
.checkbox {
    display: flex;
    align-items: flex-start;
}

.checkbox input {
    margin-top: 5px;
    margin-right: 10px;
}

.checkbox label {
    font-weight: normal;
}

.checkbox a {
    color: #f8c291;
    text-decoration: underline;
}

/* Button Styles */
.account-form .btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background-color: #f8c291;
}

.account-form .btn:hover {
    background-color: #e5a66b;
}

/* Form Footer */
.form-footer {
    margin-top: 20px;
    text-align: center;
}

.forgot-password {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #f8c291;
    text-decoration: underline;
}

/* Social Login */
.social-login {
    margin-top: 30px;
    text-align: center;
}

.social-login p {
    position: relative;
    margin-bottom: 20px;
    color: #999;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: #eee;
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-buttons {
    display: flex;
    gap: 15px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.social-btn:hover {
    opacity: 0.9;
}

.social-btn i {
    margin-right: 10px;
}

.social-btn.facebook {
    background-color: #3b5998;
}

.social-btn.google {
    background-color: #db4437;
}

/* User Dashboard Styles */
.dashboard-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-sidebar {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.user-info {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.user-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar i {
    font-size: 3rem;
    color: #ccc;
}

.user-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.user-email {
    color: #999;
    font-size: 0.9rem;
}

.dashboard-menu ul {
    list-style: none;
}

.dashboard-menu li {
    margin-bottom: 10px;
}

.dashboard-menu a {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dashboard-menu a:hover,
.dashboard-menu a.active {
    background-color: #f8c291;
    color: #fff;
}

.dashboard-menu i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.dashboard-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.dashboard-content h2 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        margin-bottom: 30px;
    }
}
