/* ============================
   Account Page
   ============================ */

.account-page {
    padding: 60px 0 80px;
}

/* Header */
.account-header {
    text-align: center;
    margin-bottom: 40px;
}

.account-avatar {
    width: 80px;
    height: 80px;
    background: #c41e3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.account-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.account-email {
    color: #888;
    font-size: 14px;
}

/* Claim Profile CTA */
.account-cta {
    background: linear-gradient(135deg, #2a1515 0%, #1a1a1a 100%);
    border: 1px solid #c41e3a;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-icon {
    width: 50px;
    height: 50px;
    background: rgba(196, 30, 58, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c41e3a;
    font-size: 22px;
    flex-shrink: 0;
}

.cta-content {
    flex: 1;
    min-width: 200px;
}

.cta-content h3 {
    font-size: 16px;
    margin-bottom: 4px;
    color: #fff;
}

.cta-content p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.btn-cta {
    background: #c41e3a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-cta:hover {
    background: #e0223f;
    color: #fff;
}

/* Account Cards */
.account-card {
    background: #151515;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 20px;
}

.account-card h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

/* Forms */
.account-form .form-group {
    margin-bottom: 18px;
}

.account-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #888;
    margin-bottom: 6px;
}

.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    transition: border-color 0.2s;
}

.account-form input:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.2);
}

.account-form input::placeholder {
    color: #555;
}

.btn-save {
    background: #c41e3a;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-save:hover {
    background: #e0223f;
}

/* Logout */
.account-logout {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #222;
}

.account-logout a {
    color: #888;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.account-logout a:hover {
    color: #c41e3a;
}

/* Responsive */
@media (max-width: 576px) {
    .account-cta {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content {
        text-align: center;
    }
}

/* ============================
   Profile Dropdown (Header)
   ============================ */

.profile-dropdown {
    position: relative;
}

.profile-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
}

.profile-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.profile-avatar-nav {
    width: 34px;
    height: 34px;
    background: #c41e3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.profile-caret {
    color: #888;
    font-size: 10px;
    transition: transform 0.2s;
}

.profile-dropdown.open .profile-caret {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.profile-dropdown.open .profile-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* User Info */
.dropdown-user-info {
    padding: 14px 16px;
    background: #151515;
}

.dropdown-user-name {
    display: block;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
    margin-bottom: 2px;
}

.dropdown-user-email {
    display: block;
    color: #777;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Divider */
.dropdown-divider {
    height: 1px;
    background: #2a2a2a;
    margin: 0;
}

/* Menu Items */
.profile-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #ccc;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.15s;
}

.profile-dropdown-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.profile-dropdown-menu .dropdown-item i {
    width: 16px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

.profile-dropdown-menu .dropdown-item:hover i {
    color: #c41e3a;
}

/* Logout - slightly different styling */
.dropdown-logout {
    color: #999 !important;
}

.dropdown-logout:hover {
    background: rgba(196, 30, 58, 0.1) !important;
    color: #c41e3a !important;
}

.dropdown-logout:hover i {
    color: #c41e3a !important;
}

/* Mobile Logout */
.mobile-logout {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #333;
}

.mobile-logout a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
    font-size: 14px;
    text-decoration: none;
    padding: 10px 0;
}

.mobile-logout a:hover {
    color: #c41e3a;
}

.profile-dropdown-menu {
    z-index: 9999 !important;
}