/* General Dashboard Layout */
.profile-dashboard {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 20px 0;
}

/* Sidebar */
.dashboard-sidebar {
    width: 250px;
    flex-shrink: 0;
    background-color: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--theme-border);
}

.user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--theme-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--theme-text-secondary);
    transition: background-color 0.3s ease;
}

.user-name {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--theme-text-primary);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex-grow: 1;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--theme-text-secondary);
    border-radius: 6px;
    margin-bottom: 5px;
    transition: background-color 0.2s, color 0.2s;
}

.sidebar-nav a:hover {
    background-color: var(--theme-hover-bg);
}

.sidebar-nav a.active {
    background-color: var(--theme-accent-primary);
    color: #fff;
    font-weight: bold;
}

.sidebar-nav a i {
    width: 20px;
    text-align: center;
}

/* Logout Button */
.sidebar-logout {
    margin-top: auto;
}

.sidebar-logout .logout-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--theme-danger);
    font-size: 1em;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.sidebar-logout .logout-btn:hover {
    background-color: var(--theme-hover-bg);
}

/* Main Content Area */
.dashboard-main-content {
    flex-grow: 1;
}

.dashboard-main-content h1 {
    font-size: 2em;
    margin-bottom: 25px;
    color: var(--theme-text-primary);
}

/* Profile Form */
.profile-form {
    background-color: var(--theme-surface);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--theme-border);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field-full-width {
    grid-column: 1 / -1;
}

.form-field label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--theme-text-secondary);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--theme-border);
    border-radius: 4px;
    font-size: 1em;
    background-color: var(--theme-input-bg);
    color: var(--theme-text-primary);
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.3s ease, color 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--theme-accent-primary);
    box-shadow: 0 0 0 2px rgba(var(--theme-accent-primary-rgb), 0.2);
}

.form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--theme-border);
}

.btn-save {
    background-color: var(--theme-accent-primary);
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-save:hover {
    background-color: var(--theme-accent-primary-hover);
}
