/* Salam Neo - Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg-dark: #090d16;
    --card-dark: #111827;
}

* {
    box-sizing: border-box;
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: #f1f5f9;
    min-height: 100vh;
    overflow-x: hidden;
    direction: rtl;
}

/* افکت نور زمینه */
.glow-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(56, 189, 248, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* دکمه ضبط و افکت تپش */
.record-btn-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: rgba(244, 63, 94, 0.25);
    animation: pulse-animation 1.5s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    pointer-events: none;
}

@keyframes pulse-animation {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.35);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.record-btn {
    position: relative;
    z-index: 10;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.5), 0 8px 10px -6px rgba(99, 102, 241, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.record-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.7);
}

.record-btn.is-recording {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    box-shadow: 0 10px 25px -5px rgba(244, 63, 94, 0.6);
    animation: breathing 2s infinite alternate ease-in-out;
}

@keyframes breathing {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.06);
    }
}

/* تب‌های ادمین */
.tab-active {
    background-color: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border-color: #6366f1;
}

.tab-inactive {
    background-color: transparent;
    color: #94a3b8;
    border-color: transparent;
}

.tab-inactive:hover {
    color: #e2e8f0;
    background-color: rgba(255, 255, 255, 0.03);
}

/* اسکرول بار شیک */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}
