/* Settings Page Specific Styles */

.settings-section {
    margin-bottom: 40px;
}

.settings-card {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 0, 255, 0.3);
    border-radius: 12px;
    padding: 30px;
}

.settings-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 14px;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group:last-child {
    margin-bottom: 0;
    margin-top: 30px;
}

.form-group label {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.settings-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 0, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.settings-input:focus {
    outline: none;
    border-color: rgba(255, 0, 255, 0.6);
    background: rgba(0, 0, 0, 0.7);
}

textarea.settings-input {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-top: 6px;
}

/* Privacy Options */
.privacy-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 0, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.privacy-option:hover {
    background: rgba(255, 0, 255, 0.1);
}

.privacy-label {
    display: flex;
    align-items: center;
    gap: 15px;
}

.privacy-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 255, 0.2);
    border-radius: 8px;
}

.privacy-title {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.privacy-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.privacy-select {
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 0, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    min-width: 150px;
    transition: all 0.3s ease;
}

.privacy-select:focus {
    outline: none;
    border-color: rgba(255, 0, 255, 0.6);
}

.privacy-select option {
    background: #1a0b2e;
    color: #fff;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: rgba(255, 0, 255, 0.1);
    border: 2px solid rgba(255, 0, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 255, 0.6);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #00ff88;
    margin-bottom: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

/* Account Info */
.account-info {
    padding-top: 20px;
    border-top: 2px solid rgba(255, 0, 255, 0.2);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 0, 255, 0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.info-value {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

/* Toast Message */
.toast-message {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.9), rgba(0, 255, 136, 0.9));
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 10000;
    font-weight: 600;
}

.toast-message.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-message.error {
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.9), rgba(255, 100, 100, 0.9));
}

/* Buttons */
.btn-primary {
    padding: 12px 30px;
    background: linear-gradient(90deg, #ff00ff 0%, #00ff88 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 0, 255, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .privacy-option {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .privacy-label {
        flex-direction: column;
        text-align: center;
    }

    .privacy-select {
        width: 100%;
    }
}

/* Avatar Picker Styles */
.avatar-picker-container {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.avatar-preview {
    flex-shrink: 0;
}

.avatar-preview-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(255, 0, 255, 0.5);
    background: rgba(0, 0, 0, 0.5);
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(255, 0, 255, 0.3);
}

.avatar-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.avatar-style-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-style-selector label {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

.avatar-select {
    flex: 1;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 0, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-select:focus {
    outline: none;
    border-color: #ff1493;
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.1);
}

.avatar-select option {
    background: #1a1a2e;
    color: #fff;
}

/* Avatar Modal */
.avatar-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.avatar-modal-content {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(255, 0, 255, 0.5);
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
}

.avatar-modal-content h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-buttons button {
    flex: 1;
}

@media (max-width: 768px) {
    .avatar-picker-container {
        flex-direction: column;
        align-items: center;
    }

    .avatar-controls {
        width: 100%;
    }

    .avatar-style-selector {
        flex-direction: column;
        align-items: stretch;
    }
}
