* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
    color: white;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

body.login-active {
    overflow: hidden;
}

body.admin-active {
    overflow: auto;
}

/* Écran de connexion */
.login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
    z-index: 99999;
    margin: 0;
    padding: 0;
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.login-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(67, 181, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(67, 181, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(67, 181, 129, 0.06) 0%, transparent 50%);
    animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -20px) scale(1.1); }
}

.login-container {
    position: relative;
    z-index: 1;
    background: rgba(20, 20, 30, 0.85);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 50px 40px;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(67, 181, 129, 0.2);
    animation: containerFadeIn 0.6s ease-out;
    text-align: center;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes containerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-logo {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    font-size: 48px;
    position: relative;
    z-index: 2;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(67, 181, 129, 0.5));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(67, 181, 129, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #43b581 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.login-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    align-items: stretch;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    z-index: 2;
    transition: all 0.3s;
    pointer-events: none;
}

.login-form input {
    width: 100%;
    padding: 16px 16px 16px 50px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.login-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.login-form input:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(67, 181, 129, 0.6);
    box-shadow: 
        0 4px 20px rgba(67, 181, 129, 0.2),
        0 0 0 4px rgba(67, 181, 129, 0.1);
    transform: translateY(-2px);
}

.login-form input:focus + .input-line,
.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #43b581, #3ba55c);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.login-form input:focus ~ .input-line {
    width: 100%;
}

.login-form input:focus ~ .input-icon {
    transform: translateY(-50%) scale(1.1);
    filter: drop-shadow(0 0 8px rgba(67, 181, 129, 0.6));
}

.login-button {
    position: relative;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #43b581 0%, #3ba55c 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(67, 181, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-button:hover {
    background: linear-gradient(135deg, #3ba55c 0%, #2d8a4a 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(67, 181, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.login-button:hover::before {
    left: 100%;
}

.login-button:active {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 15px rgba(67, 181, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    font-size: 20px;
    transition: transform 0.3s;
}

.login-button:hover .btn-icon {
    transform: translateX(4px);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.login-button:hover .btn-shine {
    left: 100%;
}

.login-error {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(240, 71, 71, 0.15);
    border: 1px solid rgba(240, 71, 71, 0.3);
    border-radius: 10px;
    margin-top: 8px;
    animation: errorShake 0.5s ease-out;
    backdrop-filter: blur(10px);
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.error-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.error-text {
    color: #f04747;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.login-footer p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0;
}

.error-message {
    color: #f04747;
    font-size: 14px;
    text-align: center;
    margin-top: 8px;
}

.login-info {
    margin-top: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-info h4 {
    color: #43b581;
    font-size: 16px;
    margin-bottom: 12px;
}

.code-examples {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.code-item {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 13px;
    border-left: 3px solid #43b581;
}

.login-loading {
    text-align: center;
    padding: 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #43b581;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-loading p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}
    margin-top: 8px;
}

/* Interface Admin */
.admin-container {
    min-height: 100vh;
    width: 100%;
    padding: 20px;
    position: relative;
    z-index: 1;
    margin: 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-title h1 {
    font-size: 24px;
    font-weight: 700;
}

.admin-badge {
    background: linear-gradient(135deg, #f04747, #ff6b6b);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.logout-btn {
    padding: 10px 20px;
    background: rgba(240, 71, 71, 0.2);
    border: 1px solid rgba(240, 71, 71, 0.4);
    border-radius: 8px;
    color: #f04747;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: rgba(240, 71, 71, 0.3);
}

/* Contenu Admin */
.admin-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Navigation par onglets */
.tab-navigation {
    display: flex;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s;
    text-align: center;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tab-content {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.tab-content.active {
    display: flex;
}

.admin-section {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.online-stats {
    display: flex;
    gap: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
}

.stat-value {
    color: #43b581;
    font-weight: 600;
}

/* Chat Admin */
.chat-admin-container {
    max-height: 500px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.chat-messages-admin {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-messages-admin::-webkit-scrollbar {
    width: 8px;
}

.chat-messages-admin::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.chat-messages-admin::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.admin-message {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 40px 12px 12px;
    transition: all 0.3s;
}

.admin-message:hover {
    background: rgba(255, 255, 255, 0.08);
}

.admin-message:hover .delete-btn {
    opacity: 1;
}

.message-header-admin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.message-author-admin {
    font-weight: 600;
    font-size: 14px;
}

.message-author-admin.admin-user {
    color: #43b581;
}

.message-time-admin {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.message-content-admin {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    word-wrap: break-word;
}

.delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(240, 71, 71, 0.2);
    border: 1px solid rgba(240, 71, 71, 0.4);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    font-size: 14px;
}

.delete-btn:hover {
    background: rgba(240, 71, 71, 0.4);
    transform: scale(1.1);
}

.loading-message,
.empty-message {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 40px;
    font-size: 14px;
}

/* Actions Admin */
.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.action-btn.danger {
    background: rgba(240, 71, 71, 0.2);
    border-color: rgba(240, 71, 71, 0.4);
    color: #f04747;
}

.action-btn.danger:hover {
    background: rgba(240, 71, 71, 0.3);
}

/* Formulaire d'envoi */
.send-message-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea {
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.send-btn {
    padding: 12px 24px;
    background: rgba(67, 181, 129, 0.2);
    border: 1px solid rgba(67, 181, 129, 0.4);
    border-radius: 8px;
    color: #43b581;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.send-btn:hover {
    background: rgba(67, 181, 129, 0.3);
    transform: translateY(-2px);
}

.char-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Statistiques */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon {
    font-size: 32px;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #43b581;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-change {
    font-size: 11px;
    color: #43b581;
    margin-top: 2px;
}

.stat-percentage {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(67, 181, 129, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

.stat-info {
    flex: 1;
    position: relative;
}

.real-time-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #43b581;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Métriques avancées */
.advanced-metrics {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.metric-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.activity-chart {
    height: 100px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.top-messages {
    max-height: 200px;
    overflow-y: auto;
}

.message-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.message-item:last-child {
    border-bottom: none;
}

/* État du serveur */
.server-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.status-value {
    font-size: 14px;
    font-weight: 600;
}

/* Section Radio */
.radio-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f04747;
    animation: pulse 2s infinite;
}

.radio-config {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-hint {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.voice-control {
    margin-top: 24px;
}

.voice-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.voice-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.voice-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(67, 181, 129, 0.2);
    border: 1px solid rgba(67, 181, 129, 0.4);
    border-radius: 8px;
    color: #43b581;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.voice-btn:hover {
    background: rgba(67, 181, 129, 0.3);
    transform: translateY(-2px);
}

.voice-btn.stop {
    background: rgba(240, 71, 71, 0.2);
    border-color: rgba(240, 71, 71, 0.4);
    color: #f04747;
}

.voice-btn.stop:hover {
    background: rgba(240, 71, 71, 0.3);
}

.voice-icon {
    font-size: 18px;
}

.voice-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.voice-meter {
    margin-bottom: 12px;
}

.meter-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.meter-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    width: 0%;
    background: #43b581;
    transition: width 0.1s, background 0.3s;
    border-radius: 4px;
}

.voice-status-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.audio-quality-info {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    margin-bottom: 8px;
}

.quality-badge {
    font-size: 11px;
    padding: 4px 8px;
    background: rgba(67, 181, 129, 0.2);
    border: 1px solid rgba(67, 181, 129, 0.4);
    border-radius: 6px;
    color: #43b581;
    font-weight: 500;
}

.radio-instructions {
    margin-top: 24px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 3px solid rgba(67, 181, 129, 0.5);
}

.radio-instructions h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.radio-instructions ol {
    margin-left: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.radio-instructions li {
    margin-bottom: 8px;
}

.radio-info-box {
    background: rgba(67, 181, 129, 0.1);
    border: 1px solid rgba(67, 181, 129, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.radio-info-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: #43b581;
    margin-bottom: 12px;
}

.radio-info-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.radio-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.radio-info-box li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.radio-info-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #43b581;
    font-weight: bold;
}

.info-note {
    margin-top: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.stream-stats {
    margin-top: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-size: 12px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.8);
}

.stat-row:last-child {
    margin-bottom: 0;
}

.stat-row span:first-child {
    color: rgba(255, 255, 255, 0.6);
}

.stat-row span:last-child {
    font-weight: 600;
    color: #43b581;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-container {
        padding: 16px;
    }

    .admin-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        padding: 16px;
    }

    .admin-title h1 {
        font-size: 24px;
    }

    .tab-navigation {
        flex-wrap: wrap;
        gap: 8px;
    }

    .tab-btn {
        flex: 1;
        min-width: calc(50% - 4px);
        padding: 10px 12px;
        font-size: 12px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .admin-actions {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 16px;
        gap: 12px;
    }

    .stat-icon {
        font-size: 24px;
    }

    .stat-number {
        font-size: 20px;
    }

    .voice-controls {
        flex-direction: column;
    }

    .voice-btn {
        width: 100%;
        justify-content: center;
    }

    .admin-section {
        padding: 16px;
    }

    .metric-row {
        flex-direction: column;
        gap: 16px;
    }

    .server-status {
        flex-direction: column;
        gap: 8px;
    }

    .status-item {
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .login-container {
        padding: 40px 30px;
        margin: 20px auto;
        max-width: calc(100% - 40px);
        border-radius: 20px;
        width: auto;
    }
    
    .login-screen {
        padding: 0;
        align-items: center;
        justify-content: center;
        display: flex !important;
    }
    
    .login-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .logo-icon {
        font-size: 36px;
    }
    
    .login-header h1 {
        font-size: 26px;
    }
    
    .login-header p {
        font-size: 13px;
    }
    
    .login-form input {
        padding: 14px 14px 14px 45px;
        font-size: 15px;
    }
    
    .login-button {
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .login-error {
        padding: 12px 16px;
        font-size: 13px;
    }

    .finance-overview {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .finance-card {
        padding: 16px;
        gap: 12px;
    }

    .finance-icon {
        font-size: 24px;
    }

    .finance-amount {
        font-size: 20px;
    }

    .broadcast-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .control-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .control-group label {
        min-width: auto;
    }

    .audio-controls-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .audio-controls-grid .control-group {
        padding: 16px;
    }

    .audio-actions {
        flex-direction: column;
    }

    .audio-actions .action-btn {
        width: 100%;
    }

    .voice-controls {
        flex-direction: column;
    }

    .voice-btn {
        width: 100%;
        min-width: auto;
    }

    .permissions-grid {
        grid-template-columns: 1fr;
    }

    .moderator-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .moderator-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
.audio-control-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.audio-control-group {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.audio-control-group h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #43b581;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.control-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.control-row:last-child {
    margin-bottom: 0;
}

.control-row label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.broadcast-status {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.status-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dc3545;
}

.status-text {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.broadcast-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.info-value {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.media-controls {
    display: grid;
    gap: 16px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-group label {
    min-width: 120px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.volume-slider {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #43b581;
    border-radius: 50%;
    cursor: pointer;
}

.control-row input[type="range"] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.control-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #43b581;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.control-row input[type="range"]::-webkit-slider-thumb:hover {
    background: #52c88f;
    transform: scale(1.1);
}

.control-row input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #43b581;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.control-row input[type="range"]::-moz-range-thumb:hover {
    background: #52c88f;
    transform: scale(1.1);
}

.eq-band {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.eq-band:last-child {
    margin-bottom: 0;
}

.eq-band h4 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.audio-control-actions {
    display: flex;
    gap: 12px;
}

.audio-control-actions .action-btn {
    padding: 10px 20px;
    font-size: 13px;
}

/* Programmation et Contact */
.schedule-section, .contact-section, .broadcast-stats {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-section:last-child, .contact-section:last-child, .broadcast-stats:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.schedule-section h3, .contact-section h3, .broadcast-stats h3 {
    font-size: 16px;
    font-weight: 600;
    color: #43b581;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-editor {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-editor .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.schedule-editor label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.schedule-editor input, .schedule-editor select {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    font-size: 13px;
}

.schedule-editor input:focus, .schedule-editor select:focus {
    outline: none;
    border-color: #43b581;
    background: rgba(0, 0, 0, 0.4);
}

.schedule-editor .form-actions {
    margin-top: 16px;
    text-align: center;
}

.save-btn {
    padding: 10px 20px;
    background: rgba(67, 181, 129, 0.2);
    border: 1px solid rgba(67, 181, 129, 0.4);
    border-radius: 8px;
    color: #43b581;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.save-btn:hover {
    background: rgba(67, 181, 129, 0.3);
    transform: translateY(-2px);
}

.save-btn:active {
    transform: translateY(0);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.schedule-day {
    font-weight: 600;
    color: white;
}

.schedule-time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.schedule-status {
    font-size: 12px;
    color: #43b581;
}

.schedule-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin: 0;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.contact-form input, .contact-form textarea {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    font-size: 13px;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #43b581;
    background: rgba(0, 0, 0, 0.4);
}

.contact-form textarea {
    resize: vertical;
    min-height: 60px;
}

/* Styles pour la gestion des modérateurs */
.moderator-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.moderator-item {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.moderator-info {
    flex: 1;
}

.moderator-info strong {
    font-size: 16px;
    color: #ffffff;
}

.moderator-info small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.moderator-actions {
    display: flex;
    gap: 10px;
}

.moderator-actions button {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

.moderator-actions .edit-btn {
    background: #007bff;
    color: white;
}

.moderator-actions .edit-btn:hover {
    background: #0056b3;
}

.moderator-actions .delete-btn {
    background: #dc3545;
    color: white;
}

.moderator-actions .delete-btn:hover {
    background: #c82333;
}

/* Styles pour la modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    cursor: pointer;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-footer button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.modal-footer .cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.modal-footer .cancel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-footer .save-btn {
    background: #28a745;
    color: white;
}

.modal-footer .save-btn:hover {
    background: #218838;
}

/* Styles pour l'onglet Finance */
.finance-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.finance-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.finance-icon {
    font-size: 32px;
}

.finance-info {
    flex: 1;
}

.finance-amount {
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 4px;
}

.finance-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.transactions-list h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.transactions-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.transaction-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.stat-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.4));
    border: 3px solid rgba(40, 167, 69, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);
}

.circle-content {
    text-align: center;
}

.circle-value {
    font-size: 18px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 5px;
}

.circle-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.finance-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.finance-card {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.finance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.finance-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.finance-role {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.finance-wallet {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.wallet-amount {
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 5px;
}

.wallet-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.goal-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    margin-top: 5px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.finance-earnings h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.earning-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.earning-item:last-child {
    border-bottom: none;
}

/* Vue Membre Simple (Wallet uniquement) */
.member-wallet-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.wallet-display-card {
    background: linear-gradient(135deg, rgba(67, 181, 129, 0.2) 0%, rgba(67, 181, 129, 0.1) 100%);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(67, 181, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.wallet-icon {
    font-size: 48px;
    opacity: 0.8;
}

.wallet-info {
    flex: 1;
}

.wallet-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wallet-amount {
    font-size: 36px;
    font-weight: 700;
    color: #43b581;
    margin-bottom: 8px;
}

.wallet-goal {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.wallet-earnings-section {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-earnings-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.wallet-earnings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.no-earnings {
    text-align: center;
    padding: 30px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.earning-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid #43b581;
}

.earning-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    min-width: 100px;
}

.earning-description {
    flex: 1;
    margin: 0 15px;
    color: rgba(255, 255, 255, 0.9);
}

.earning-amount {
    font-size: 16px;
    font-weight: 600;
    color: #43b581;
    min-width: 80px;
    text-align: right;
}

.earning-amount {
    color: #28a745;
    font-weight: 600;
}

.earning-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    flex: 1;
    margin: 0 10px;
}

.earning-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
}

.no-earnings {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    text-align: center;
    padding: 10px;
}

.no-data {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    padding: 40px;
}

/* Styles pour les contrôles audio avancés */
.audio-profiles {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

#audioProfileSelect {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 14px;
}

.quality-meter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
}

.quality-value {
    color: #43b581;
}

.audio-controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.audio-controls-grid .control-group {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.audio-controls-grid .control-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.eq-controls, .compressor-controls, .effects-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eq-slider, .compressor-slider, .effect-slider {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eq-slider label, .compressor-slider label, .effect-slider label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.eq-slider input, .compressor-slider input, .effect-slider input {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
}

.eq-slider input::-webkit-slider-thumb, .compressor-slider input::-webkit-slider-thumb, .effect-slider input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #43b581;
    border-radius: 50%;
    cursor: pointer;
}

.eq-slider span, .compressor-slider span, .effect-slider span {
    font-size: 12px;
    color: #43b581;
    font-weight: 600;
    text-align: right;
}

.effect-toggle {
    display: flex;
    align-items: center;
}

.effect-toggle label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.effect-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #43b581;
}

.audio-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.audio-actions .action-btn {
    flex: 1;
    min-width: 120px;
}

/* Styles pour les contrôles radio/streaming */
.voice-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.voice-btn {
    flex: 1;
    min-width: 150px;
    padding: 12px 20px;
    background: rgba(67, 181, 129, 0.2);
    border: 1px solid rgba(67, 181, 129, 0.3);
    border-radius: 8px;
    color: #43b581;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.voice-btn:hover {
    background: rgba(67, 181, 129, 0.3);
    transform: translateY(-2px);
}

.voice-info {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.audio-level-bar {
    width: 100px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.audio-level-fill {
    height: 100%;
    background: linear-gradient(90deg, #43b581, #28a745);
    width: 0%;
    transition: width 0.1s;
}

.stream-stats {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.stat-value {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 13px;
}

/* Styles pour la gestion des modérateurs */
.moderator-form {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.moderator-form .form-group {
    margin-bottom: 16px;
}

.moderator-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.moderator-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 14px;
}

.permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.permissions-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.permissions-grid input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #43b581;
}

.moderators-list h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.moderator-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.moderator-info {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.moderator-actions {
    display: flex;
    gap: 8px;
}

.moderator-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.moderator-actions .edit-btn {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.moderator-actions .delete-btn {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Styles pour la section Finance complète */
.finance-overview-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.finance-dashboard {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.finance-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.metric-card {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.metric-card.revenue {
    border-left: 4px solid #28a745;
}

.metric-card.expenses {
    border-left: 4px solid #dc3545;
}

.metric-card.profit {
    border-left: 4px solid #43b581;
}

.metric-card.roi {
    border-left: 4px solid #ffc107;
}

.metric-card.wallets {
    border-left: 4px solid #9c88ff;
}

.metric-icon {
    font-size: 32px;
    opacity: 0.8;
}

.metric-content {
    flex: 1;
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    color: #43b581;
    margin-bottom: 4px;
}

.metric-card.expenses .metric-value {
    color: #dc3545;
}

.metric-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.metric-change {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.finance-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.chart-container {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-container h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.chart-placeholder {
    height: 200px;
    display: flex;
    align-items: end;
    justify-content: space-around;
    gap: 10px;
    padding: 20px 0;
}

.chart-bar {
    width: 30px;
    background: linear-gradient(180deg, #43b581, #28a745);
    border-radius: 4px 4px 0 0;
    transition: height 0.5s;
    position: relative;
}

.chart-bar::after {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.chart-bar:hover::after {
    opacity: 1;
}

.pie-chart {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    margin: 0 auto 20px;
}

.pie-segment {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
}

.pie-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.pie-value {
    font-size: 18px;
    font-weight: 700;
    color: #43b581;
}

.pie-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.pie-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.streaming {
    background: #43b581;
}

.legend-color.donations {
    background: #ffc107;
}

.legend-color.ads {
    background: #dc3545;
}

.legend-label {
    flex: 1;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.legend-value {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.transactions-section {
    margin-top: 40px;
}

.transaction-filters {
    display: flex;
    gap: 12px;
    align-items: center;
}

.filter-select, .sort-select {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 14px;
}

.transactions-table {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-top: 20px;
}

.transaction-header {
    display: grid;
    grid-template-columns: 120px 100px 1fr 100px 100px;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.transaction-col {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.transaction-body {
    max-height: 400px;
    overflow-y: auto;
}

.transaction-row {
    display: grid;
    grid-template-columns: 120px 100px 1fr 100px 100px;
    gap: 16px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.transaction-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.transaction-row.empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.transaction-row.revenue {
    border-left: 3px solid #28a745;
}

.transaction-row.expense {
    border-left: 3px solid #dc3545;
}

.transaction-row.transfer {
    border-left: 3px solid #ffc107;
}

.budget-section {
    margin-top: 40px;
}

.budgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.budget-card {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.budget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.budget-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.budget-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.budget-status.on-track {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.budget-status.over {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.budget-status.under {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.budget-progress {
    margin-bottom: 12px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #43b581, #28a745);
    border-radius: 4px;
    transition: width 0.5s;
}

.progress-fill.over {
    background: linear-gradient(90deg, #dc3545, #c82333);
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.wallets-section {
    margin-top: 40px;
}

.wallets-controls {
    margin-top: 20px;
}

.search-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 14px;
}

.wallets-list {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.wallet-item {
    display: grid;
    grid-template-columns: 2fr 1fr 140px;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    margin-bottom: 8px;
}

.wallet-item:hover {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.wallet-item:last-child {
    border-bottom: none;
}

.wallet-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

.user-role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.wallet-balance {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.balance-amount {
    font-size: 24px;
    font-weight: 700;
    color: #43b581;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(67, 181, 129, 0.3);
}

.balance-change {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

.wallet-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.user-name {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2px;
}

.user-role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.wallet-balance {
    text-align: right;
}

.balance-amount {
    font-size: 18px;
    font-weight: 700;
    color: #43b581;
    margin-bottom: 2px;
}

.balance-change {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.wallet-actions {
    display: flex;
    gap: 4px;
}

.wallet-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    min-width: 40px;
    text-align: center;
}

.wallet-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-1px);
}

.custom-amount-input {
    width: 100px;
    padding: 8px 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
}

.custom-amount-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.custom-amount-input:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.custom-amount-input:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.wallet-btn.custom {
    background: #4CAF50;
    color: white;
}

.wallet-btn.custom:hover {
    background: #45a049;
}

.admin-financial-actions {
    margin-top: 40px;
}

.admin-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.action-card {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-buttons .action-btn {
    width: 100%;
    justify-content: flex-start;
}

/* ============================================
   WALLET PERSONNEL (pour utilisateurs sans permission finance)
   ============================================ */

.personal-wallet-section {
    margin-bottom: 40px;
}

.personal-wallet-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.wallet-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info-large {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.user-details {
    flex: 1;
}

.user-name-large {
    font-size: 28px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

.user-role-large {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
    font-weight: 500;
}

.wallet-balance-large {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-main {
    flex: 1;
}

.balance-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.balance-amount-large {
    font-size: 48px;
    font-weight: 700;
    color: #43b581;
    text-shadow: 0 4px 16px rgba(67, 181, 129, 0.4);
}

.balance-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.stat-value.positive {
    color: #43b581;
}

.stat-value.negative {
    color: #f44336;
}

.wallet-actions-large {
    display: flex;
    gap: 30px;
}

.quick-actions {
    flex: 1;
}

.quick-actions h4 {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 18px;
}

.quick-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.earnings-history {
    flex: 1;
}

.earnings-history h4 {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 18px;
}

.earnings-list {
    max-height: 300px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
}

.earning-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.earning-item:last-child {
    border-bottom: none;
}

.earning-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    min-width: 100px;
}

.earning-amount {
    font-size: 16px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

.earning-amount.positive {
    color: #43b581;
}

.earning-amount.negative {
    color: #f44336;
}

.earning-type {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    min-width: 80px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.earning-desc {
    flex: 1;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
}

.no-earnings {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 20px;
    font-style: italic;
}

