/* Современный WebRTC интерфейс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

/* Анимированный фон */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Заголовок */
.header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    animation: fadeInDown 0.8s ease;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Основная карточка входа */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 400px;
    width: 100%;
    animation: slideInUp 0.8s ease 0.4s both;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Формы */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group label::before {
    content: '';
    margin-right: 8px;
    font-size: 1.1rem;
}

.form-group:nth-child(1) label::before { content: '👤'; }
.form-group:nth-child(2) label::before { content: '🏠'; }

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(196, 207, 221, 0.5);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    color: #2d3748;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: #a0aec0;
}

/* Режим селектор */
.mode-selector {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 500px;
    width: 100%;
    animation: slideInUp 0.8s ease 0.4s both;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mode-selector h2 {
    text-align: center;
    color: #4a5568;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 700;
}

.mode-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mode-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 25px 30px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mode-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.mode-btn i {
    font-size: 1.5rem;
}

.mode-btn span {
    font-size: 1.1rem;
    font-weight: 600;
}

.mode-btn small {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Кнопка назад */
.back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.back-btn i {
    margin-right: 8px;
}

/* Система вызовов */
.call-system {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    max-width: 1000px;
    width: 100%;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.call-system h2 {
    text-align: center;
    color: #4a5568;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Регистрация пользователя */
.user-registration {
    max-width: 400px;
    margin: 0 auto;
}

.register-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Панель управления вызовами */
.call-dashboard {
    width: 100%;
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.logout-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

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

.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;
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
}

.user-details h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 5px;
}

.user-details p {
    color: #718096;
    font-size: 0.95rem;
}

/* ==============================================
   МОБИЛЬНЫЕ ЭЛЕМЕНТЫ - СКРЫТЫ НА ДЕСКТОПЕ
============================================== */

/* Мобильная навигация */
.mobile-tabs {
    display: none; /* Скрыто на всех устройствах по умолчанию */
    flex-direction: row;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: #718096;
}

.mobile-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.mobile-tab i {
    font-size: 1.1rem;
}

.mobile-tab span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Быстрые действия */
.quick-actions {
    display: none; /* Скрыто на всех устройствах по умолчанию */
    flex-direction: row;
    gap: 10px;
    margin-bottom: 20px;
}

.quick-action {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(10px);
}

.quick-action:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quick-action i {
    font-size: 1.2rem;
    color: #667eea;
}

.quick-action span {
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 500;
}

/* Мобильные настройки */
.mobile-settings {
    display: none; /* Скрыто на всех устройствах по умолчанию */
    flex-direction: column;
    gap: 20px;
}

.settings-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.settings-item h4 {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 5px;
    font-weight: 600;
}

.settings-item p {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.settings-item select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(196, 207, 221, 0.5);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #2d3748;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.settings-item select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.settings-item select option {
    background: white;
    color: #2d3748;
    padding: 10px;
}

/* Переключатель */
.toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Кнопка выхода */
.danger-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.settings-item.danger {
    border: 2px solid rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.05);
}

/* ==============================================
   ОСНОВНОЙ КОНТЕНТ - ВСЕГДА ВИДИМЫЙ
============================================== */

/* Список пользователей */
.users-list {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.users-list h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.users-search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.users-search input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid rgba(196, 207, 221, 0.5);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.users-search input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.users-search button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.users-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

#users-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.user-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.user-item:last-child {
    border-bottom: none;
}

.user-item-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.user-item-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    margin-right: 15px;
}

.user-item-details h4 {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 4px;
    font-weight: 600;
}

.user-item-details p {
    color: #718096;
    font-size: 0.9rem;
}

.user-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 15px;
}

.user-status.online {
    background: rgba(72, 187, 120, 0.2);
    color: #2f855a;
}

.user-status.offline {
    background: rgba(160, 174, 192, 0.2);
    color: #4a5568;
}

.call-user-btn {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.call-user-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(72, 187, 120, 0.4);
}

.call-user-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* История вызовов */
.call-history {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.call-history h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

#call-history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.call-history-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.call-history-item:last-child {
    border-bottom: none;
}

.call-history-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.call-history-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    font-size: 0.9rem;
}

.call-history-icon.outgoing {
    background: #48bb78;
}

.call-history-icon.incoming {
    background: #4299e1;
}

.call-history-icon.missed {
    background: #f56565;
}

.call-history-details h5 {
    font-size: 1rem;
    color: #2d3748;
    margin-bottom: 4px;
    font-weight: 600;
}

.call-history-details p {
    color: #718096;
    font-size: 0.85rem;
}

.call-history-time {
    color: #a0aec0;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* ==============================================
   МЕДИА-КОНТРОЛЫ И ВИДЕО
============================================== */

/* Медиа контролы */
.media-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.media-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #4a5568;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.media-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.media-btn:hover::before {
    left: 100%;
}

.media-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.media-btn:active {
    transform: translateY(0);
}

.media-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.media-btn:not(.active) {
    opacity: 0.7;
}

/* Кнопка входа */
.join-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.join-btn::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;
}

.join-btn:hover::before {
    left: 100%;
}

.join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.join-btn:active {
    transform: translateY(-1px);
}

.join-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Статус */
.status {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    color: #4a5568;
    font-weight: 500;
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* ==============================================
   ВХОДЯЩИЕ ЗВОНКИ
============================================== */

.incoming-call {
    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;
    backdrop-filter: blur(10px);
}

.call-notification {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.caller-info {
    margin-bottom: 30px;
}

.caller-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.caller-info h2 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 8px;
}

.caller-info p {
    color: #718096;
    font-size: 1.1rem;
}

.call-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.call-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-btn.accept {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.call-btn.accept:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(72, 187, 120, 0.4);
}

.call-btn.reject {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
}

.call-btn.reject:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(245, 101, 101, 0.4);
}

/* ==============================================
   ВИДЕО КОНТЕЙНЕР
============================================== */

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: none;
    z-index: 999;
}

.video-grid {
    width: 100%;
    height: 100%;
    display: grid;
    gap: 8px;
    padding: 20px;
    box-sizing: border-box;
}

/* Адаптивная сетка для разного количества участников */
.video-grid:has(.grid-participant:nth-child(1):last-child) {
    grid-template-columns: 1fr;
}

.video-grid:has(.grid-participant:nth-child(2):last-child) {
    grid-template-columns: 1fr 1fr;
}

.video-grid:has(.grid-participant:nth-child(3):last-child),
.video-grid:has(.grid-participant:nth-child(4):last-child) {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.video-grid:has(.grid-participant:nth-child(5):last-child),
.video-grid:has(.grid-participant:nth-child(6):last-child) {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.participants {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    max-width: 300px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.participants h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.call-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.control-btn i {
    font-size: 1.2rem;
}

.control-btn span {
    display: none;
}

.control-btn:hover {
    transform: scale(1.1);
}

.control-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.control-btn:not(.active) {
    opacity: 0.7;
}

.control-btn.danger {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
}

.control-btn.danger:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(245, 101, 101, 0.4);
}

.participants {
    display: none;
}

.participants h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.participant-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.participant-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.participant-item:last-child {
    border-bottom: none;
}

.participant-info {
    flex: 1;
}

.participant-info strong {
    color: white;
    font-size: 0.9rem;
}

.participant-status {
    color: #a0aec0;
    font-size: 0.8rem;
}

.participant-status.you {
    color: #667eea;
}

.participant-status.connected {
    color: #48bb78;
}

.participant-controls {
    display: flex;
    gap: 5px;
}

.media-status {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.remote-videos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    height: 100%;
}

.remote-participant {
    flex: 1;
    min-width: 300px;
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.participant-name {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 15px;
}

.participant-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.participant-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.video-placeholder p {
    font-size: 1.1rem;
}

.local-video-container {
    position: absolute;
    bottom: 100px;
    right: 20px;
    width: 200px;
    height: 150px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.local-video-container h3 {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 15px;
    z-index: 10;
}

#local-video {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#local-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.grid-participant {
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-participant:hover {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.grid-participant video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.participant-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.participant-name {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.participant-status {
    display: flex;
    gap: 5px;
}

.in-room-settings {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 100;
}

.settings-toggle, .participants-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
}

.participants-toggle {
    font-size: 1rem;
}

.settings-toggle:hover, .participants-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.settings-panel {
    position: absolute;
    top: 70px;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 15px;
    padding: 20px;
    min-width: 300px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.settings-content {
    color: white;
}

.settings-content h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.settings-content .device-group {
    margin-bottom: 15px;
}

.settings-content label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #a0aec0;
}

.settings-content .device-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
}

.settings-content .device-select option {
    background: #2d3748;
    color: white;
}

.settings-content .test-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.settings-content .test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.mobile-participants-panel {
    position: absolute;
    top: 70px;
    left: 55px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 15px;
    padding: 20px;
    min-width: 250px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.mobile-participants-content {
    color: white;
}

.mobile-participants-content h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.mobile-participant-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-participant-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-participant-info {
    flex: 1;
}

.mobile-participant-name {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.mobile-participant-status {
    font-size: 0.8rem;
    color: #a0aec0;
}

#video-grid {
    width: 100%;
    height: 100%;
    display: grid;
    gap: 8px;
    padding: 20px;
    box-sizing: border-box;
}

/* Адаптивная сетка для разного количества участников */
#video-grid:has(.grid-participant:nth-child(1):last-child) {
    grid-template-columns: 1fr;
}

#video-grid:has(.grid-participant:nth-child(2):last-child) {
    grid-template-columns: 1fr 1fr;
}

#video-grid:has(.grid-participant:nth-child(3):last-child),
#video-grid:has(.grid-participant:nth-child(4):last-child) {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

#video-grid:has(.grid-participant:nth-child(5):last-child),
#video-grid:has(.grid-participant:nth-child(6):last-child) {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.remote-participant {
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

/* ==============================================
   МОБИЛЬНЫЕ УСТРОЙСТВА (≤768px)
============================================== */

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .login-card {
        padding: 25px;
        margin: 0 10px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
    }

    .media-controls {
        flex-direction: column;
        gap: 10px;
    }

    .call-controls {
        bottom: 20px;
        gap: 10px;
        padding: 10px 15px;
    }

    .control-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .remote-videos {
        flex-direction: column;
    }

    .video {
        min-width: 100%;
    }

    .mode-selector {
        padding: 25px;
        margin: 0 10px;
    }

    .mode-buttons {
        gap: 15px;
    }

    .mode-btn {
        padding: 20px;
        font-size: 0.95rem;
    }

    .call-system {
        padding: 20px;
        margin: 0 10px;
    }

    .call-system h2 {
        font-size: 1.5rem;
    }

    .user-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .users-search {
        flex-direction: column;
    }

    .users-search input {
        margin-bottom: 10px;
    }

    .users-search input::placeholder {
        font-size: 0.9rem;
    }

    .users-search button {
        padding: 12px;
        font-size: 0.9rem;
    }

    .users-search button:hover {
        transform: none;
    }

    .user-item {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 15px;
    }

    .user-item:hover {
        transform: none;
    }

    .user-item-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .user-item-info {
        justify-content: space-between;
    }

    .user-item-details h4 {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }

    .user-item-details p {
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }

    .user-status {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .user-status.online {
        background: rgba(72, 187, 120, 0.2);
    }

    .user-status.offline {
        background: rgba(160, 174, 192, 0.2);
    }

    .call-user-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 0.9rem;
    }

    .call-user-btn:hover {
        transform: none;
    }

    .call-user-btn:disabled {
        opacity: 0.6;
    }

    .call-history-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
    }

    .call-history-item:hover {
        transform: none;
    }

    .call-history-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .call-history-details h5 {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
    }

    .call-history-details p {
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 160px;
    }

    .call-history-time {
        font-size: 0.75rem;
        text-align: right;
    }

    .mobile-section {
        display: none;
    }

    .mobile-section.active {
        display: block;
    }

    /* ПОКАЗЫВАЕМ мобильные элементы на мобильных устройствах */
    .mobile-tabs {
        display: flex !important;
    }

    .quick-actions {
        display: flex !important;
    }

    .mobile-settings {
        display: flex !important;
    }

    .users-list h3,
    .call-history h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        padding: 0 5px;
    }

    .users-list,
    .call-history {
        padding: 20px;
        margin-bottom: 20px;
    }

    .call-actions {
        gap: 30px;
    }

    .call-btn {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }

    .call-notification {
        margin: 20px;
        padding: 30px;
    }
}

/* ==============================================
   ОЧЕНЬ МАЛЕНЬКИЕ УСТРОЙСТВА (≤480px)
============================================== */

@media (max-width: 480px) {
    .call-system {
        padding: 15px;
    }

    .user-item {
        padding: 12px;
    }

    .user-item-avatar {
        width: 35px;
        height: 35px;
    }

    .mobile-tab {
        padding: 10px 6px;
        font-size: 0.8rem;
    }

    .mobile-tab i {
        font-size: 1rem;
    }

    .call-user-btn {
        padding: 10px;
        font-size: 0.85rem;
    }

    .call-history-item {
        padding: 10px;
    }

    .call-history-icon {
        width: 28px;
        height: 28px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================================
   ДЕСКТОП (>768px) - СКРЫВАЕМ МОБИЛЬНЫЕ ЭЛЕМЕНТЫ
============================================== */

@media (min-width: 769px) {
    /* ПОЛНОСТЬЮ СКРЫВАЕМ мобильные элементы */
    .mobile-tabs,
    .quick-actions,
    .mobile-settings {
        display: none !important;
    }

    /* Убираем мобильные классы с секций */
    .mobile-section {
        display: block !important;
    }

    /* Восстанавливаем десктопную верстку */
    .users-list h3,
    .call-history h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        padding: 0;
    }

    .users-list,
    .call-history {
        padding: 25px;
        margin-bottom: 25px;
    }

    /* Десктопная двухколонная верстка */
    .call-system {
        max-width: 1200px;
        width: 100%;
        padding: 30px;
    }

    .call-dashboard {
        width: 100%;
    }

    .call-dashboard {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 1fr;
        gap: 25px;
        grid-template-areas: 
            "user-info user-info"
            "users-list call-history";
    }

    .user-info {
        grid-area: user-info;
    }

    .users-list {
        grid-area: users-list;
    }

    .call-history {
        grid-area: call-history;
    }

    .user-item {
        flex-direction: row;
        align-items: center;
        padding: 20px;
    }

    .user-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .user-item-avatar {
        width: 45px;
        height: 45px;
        margin-right: 15px;
    }

    .user-item-details h4 {
        font-size: 1.1rem;
        max-width: none;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .user-item-details p {
        font-size: 0.9rem;
        max-width: none;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .call-user-btn {
        width: auto;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .call-user-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(72, 187, 120, 0.4);
    }

    .call-history-item {
        flex-direction: row;
        align-items: center;
        padding: 15px;
    }

    .call-history-icon {
        width: 35px;
        height: 35px;
        margin-right: 15px;
    }

    .call-history-details h5 {
        font-size: 1rem;
        max-width: none;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .call-history-details p {
        font-size: 0.85rem;
        max-width: none;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .call-history-time {
        text-align: right;
    }
}

/* ==============================================
   ТЕМЫ - ТЕМНАЯ ТЕМА
============================================== */

.theme-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #e2e8f0;
}

.theme-dark::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(56, 178, 172, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(129, 140, 248, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(167, 139, 250, 0.2) 0%, transparent 50%);
}

.theme-dark .header {
    color: #f7fafc;
}

.theme-dark .login-card,
.theme-dark .mode-selector,
.theme-dark .call-system {
    background: rgba(45, 55, 72, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-dark .form-group label,
.theme-dark .mode-selector h2,
.theme-dark .call-system h2 {
    color: #e2e8f0;
}

.theme-dark .form-group input {
    background: rgba(26, 32, 44, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.theme-dark .form-group input::placeholder {
    color: #718096;
}

.theme-dark .form-group input:focus {
    background: rgba(26, 32, 44, 0.95);
    border-color: #4299e1;
}

.theme-dark .user-info {
    background: rgba(26, 32, 44, 0.7);
}

.theme-dark .user-details h3 {
    color: #f7fafc;
}

.theme-dark .user-details p {
    color: #a0aec0;
}

.theme-dark .users-list,
.theme-dark .call-history {
    background: rgba(26, 32, 44, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-dark .users-list h3,
.theme-dark .call-history h3 {
    color: #f7fafc;
}

.theme-dark .users-search input {
    background: rgba(45, 55, 72, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.theme-dark .users-search input::placeholder {
    color: #718096;
}

.theme-dark .user-item,
.theme-dark .call-history-item {
    background: rgba(45, 55, 72, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-dark .user-item-details h4,
.theme-dark .call-history-details h5 {
    color: #f7fafc;
}

.theme-dark .user-item-details p,
.theme-dark .call-history-details p {
    color: #a0aec0;
}

.theme-dark .call-history-time {
    color: #718096;
}

.theme-dark .settings-item {
    background: rgba(26, 32, 44, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-dark .settings-item h4 {
    color: #f7fafc;
}

.theme-dark .settings-item p {
    color: #a0aec0;
}

.theme-dark .settings-item select {
    background: rgba(45, 55, 72, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.theme-dark .settings-item select option {
    background: #2d3748;
    color: #e2e8f0;
}

.theme-dark .mobile-tabs {
    background: rgba(26, 32, 44, 0.9);
}

.theme-dark .mobile-tab {
    color: #a0aec0;
}

.theme-dark .mobile-tab.active {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

.theme-dark .quick-action {
    background: rgba(26, 32, 44, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-dark .quick-action:hover {
    background: rgba(45, 55, 72, 0.95);
}

.theme-dark .quick-action i {
    color: #4299e1;
}

.theme-dark .quick-action span {
    color: #e2e8f0;
}

.theme-dark .status {
    background: rgba(26, 32, 44, 0.8);
    color: #e2e8f0;
}

.theme-dark .media-btn {
    background: rgba(26, 32, 44, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.theme-dark .media-btn.active {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

/* ==============================================
   ТЕМЫ - СИНЯЯ ТЕМА
============================================== */

.theme-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: #f1f5f9;
}

.theme-blue::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 197, 253, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(96, 165, 250, 0.3) 0%, transparent 50%);
}

.theme-blue .header {
    color: #f8fafc;
}

.theme-blue .login-card,
.theme-blue .mode-selector,
.theme-blue .call-system {
    background: rgba(30, 58, 138, 0.95);
    border: 1px solid rgba(147, 197, 253, 0.2);
}

.theme-blue .form-group label,
.theme-blue .mode-selector h2,
.theme-blue .call-system h2 {
    color: #f1f5f9;
}

.theme-blue .form-group input {
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(147, 197, 253, 0.2);
    color: #f1f5f9;
}

.theme-blue .form-group input::placeholder {
    color: #94a3b8;
}

.theme-blue .form-group input:focus {
    background: rgba(15, 23, 42, 0.95);
    border-color: #3b82f6;
}

.theme-blue .user-info {
    background: rgba(15, 23, 42, 0.7);
}

.theme-blue .user-details h3 {
    color: #f8fafc;
}

.theme-blue .user-details p {
    color: #cbd5e1;
}

.theme-blue .users-list,
.theme-blue .call-history {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(147, 197, 253, 0.2);
}

.theme-blue .users-list h3,
.theme-blue .call-history h3 {
    color: #f8fafc;
}

.theme-blue .users-search input {
    background: rgba(30, 58, 138, 0.9);
    border: 2px solid rgba(147, 197, 253, 0.2);
    color: #f1f5f9;
}

.theme-blue .users-search input::placeholder {
    color: #94a3b8;
}

.theme-blue .user-item,
.theme-blue .call-history-item {
    background: rgba(30, 58, 138, 0.9);
    border: 1px solid rgba(147, 197, 253, 0.2);
}

.theme-blue .user-item-details h4,
.theme-blue .call-history-details h5 {
    color: #f8fafc;
}

.theme-blue .user-item-details p,
.theme-blue .call-history-details p {
    color: #cbd5e1;
}

.theme-blue .call-history-time {
    color: #94a3b8;
}

.theme-blue .settings-item {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(147, 197, 253, 0.2);
}

.theme-blue .settings-item h4 {
    color: #f8fafc;
}

.theme-blue .settings-item p {
    color: #cbd5e1;
}

.theme-blue .settings-item select {
    background: rgba(30, 58, 138, 0.9);
    border: 2px solid rgba(147, 197, 253, 0.2);
    color: #f1f5f9;
}

.theme-blue .settings-item select option {
    background: #1e3a8a;
    color: #f1f5f9;
}

.theme-blue .mobile-tabs {
    background: rgba(15, 23, 42, 0.9);
}

.theme-blue .mobile-tab {
    color: #cbd5e1;
}

.theme-blue .mobile-tab.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.theme-blue .quick-action {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(147, 197, 253, 0.2);
}

.theme-blue .quick-action:hover {
    background: rgba(30, 58, 138, 0.95);
}

.theme-blue .quick-action i {
    color: #60a5fa;
}

.theme-blue .quick-action span {
    color: #f1f5f9;
}

.theme-blue .status {
    background: rgba(15, 23, 42, 0.8);
    color: #f1f5f9;
}

.theme-blue .media-btn {
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(147, 197, 253, 0.2);
    color: #f1f5f9;
}

.theme-blue .media-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
 
 