/* Kullanıcı Dropdown Menü */
.user-info {
    position: relative;
    cursor: pointer;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    display: none;
    z-index: 1001;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

.user-dropdown.active {
    display: block;
}

.dropdown-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.dropdown-item svg {
    width: 18px;
    height: 18px;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 5px 0;
}

/* Avatar Upload Modal */
.avatar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.avatar-modal.active {
    display: flex;
}

.avatar-modal-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
}

.avatar-modal h3 {
    margin-bottom: 20px;
    color: #333;
}

.avatar-upload-area {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.avatar-upload-area:hover {
    border-color: #ff006e;
    background: #fff5f8;
}

.avatar-upload-area input[type="file"] {
    display: none;
}

.avatar-preview {
    margin-top: 20px;
    text-align: center;
}

.avatar-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

/* Şifre Güvenlik Göstergesi */
.strength-meter {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s;
    background: #ff4444;
}

.strength-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 12px;
}

.strength-feedback {
    color: #ff9999;
    font-size: 11px;
}

.strength-text {
    font-weight: 600;
}

.forgot-password-link {
    display: block;
    text-align: right;
    margin-top: 10px;
    color: var(--accent-pink);
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}

.forgot-password-link:hover {
    text-decoration: underline;
}
