/* -----------------------------------------------
   ACCOUNT DROPDOWN
----------------------------------------------- */

.dqmate-account-wrap {
    position: relative;
    display:  inline-block;
}

.dqmate-account-btn {
    display:         flex;
    align-items:     center;
    gap:             8px;
    padding:         8px 16px;
    background:      #4F46E5;
    color:           #fff;
    border:          none;
    border-radius:   8px;
    font-size:       14px;
    font-weight:     500;
    cursor:          pointer;
    transition:      background 0.2s;
}

.dqmate-account-btn:hover {
    background: #4338CA;
}

.dqmate-account-btn .dqmate-avatar {
    width:           28px;
    height:          28px;
    border-radius:   50%;
    background:      rgba(255,255,255,0.25);
    display:         flex;
    align-items:     center;
    justify-content: center;
    font-weight:     600;
    font-size:       13px;
}

.dqmate-account-btn .dqmate-chevron {
    font-size:   10px;
    transition:  transform 0.2s;
}

.dqmate-account-btn.open .dqmate-chevron {
    transform: rotate(180deg);
}

/* Dropdown panel */
.dqmate-account-dropdown {
    display:       none;
    position:      absolute;
    top:           calc(100% + 8px);
    right:         0;
    width:         240px;
    background:    #fff;
    border:        1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow:    0 8px 24px rgba(0,0,0,0.10);
    z-index:       9999;
    overflow:      hidden;
}

.dqmate-account-dropdown.open {
    display: block;
}

/* User info section */
.dqmate-dropdown-info {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.dqmate-dropdown-name {
    font-size:   14px;
    font-weight: 600;
    color:       #111827;
    margin:      0 0 2px;
    white-space: nowrap;
    overflow:    hidden;
    text-overflow: ellipsis;
}

.dqmate-dropdown-email {
    font-size:   12px;
    color:       #6b7280;
    margin:      0 0 8px;
    white-space: nowrap;
    overflow:    hidden;
    text-overflow: ellipsis;
}

.dqmate-dropdown-plan {
    display:       inline-flex;
    align-items:   center;
    gap:           4px;
    padding:       3px 10px;
    background:    #EEF2FF;
    color:         #4F46E5;
    border-radius: 20px;
    font-size:     11px;
    font-weight:   600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sign out button */
.dqmate-dropdown-signout {
    display:     block;
    width:       100%;
    padding:     12px 16px;
    background:  none;
    border:      none;
    text-align:  left;
    font-size:   14px;
    color:       #ef4444;
    font-weight: 500;
    cursor:      pointer;
    transition:  background 0.15s;
}
