/* Google-style user dropdown styles */
.auth-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
}

/* Google-style user dropdown */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #dadce0;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #3c4043;
    font-size: 14px;
    font-family: inherit;
}

.user-button:hover {
    background-color: #f8f9fa;
    box-shadow: 0 1px 3px rgba(60,64,67,0.1);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.dropdown-content {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background: white;
    border: 1px solid #dadce0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 240px;
    z-index: 1000;
    display: none;
}

.dropdown-content.show {
    display: block;
}

.dropdown-header {
    padding: 16px;
    border-bottom: 1px solid #e8eaed;
    text-align: center;
}

.dropdown-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 8px;
    object-fit: cover;
}

.dropdown-avatar-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 24px;
    margin: 0 auto 8px;
}

.dropdown-name {
    font-weight: 500;
    color: #202124;
    margin-bottom: 4px;
    font-size: 16px;
}

.dropdown-email {
    color: #5f6368;
    font-size: 14px;
}

.dropdown-menu {
    padding: 8px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #3c4043;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #3c4043;
}

.dropdown-item svg {
    margin-right: 12px;
    opacity: 0.7;
}

.dropdown-divider {
    height: 1px;
    background-color: #e8eaed;
    margin: 8px 0;
}

/* Dropdown arrow animation */
.user-button svg {
    transition: transform 0.2s ease;
}

.user-dropdown.open .user-button svg {
    transform: rotate(180deg);
}