/* Voice Chat Platform - Custom Theme Styles */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(45deg, #ff6b6b, #feca57);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body {
    background: var(--primary-gradient);
    color: #ffffff;
    min-height: 100vh;
}

/* Custom Glass Effect Utility */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-medium);
}

/* Scoped Overrides for Bootstrap Components */
.navbar.bg-dark {
    background: rgba(0, 0, 0, 0.2) !important; /* Important needed to override default dark bg */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

/* Apply glass-effect to specific components if they have the class */
.card.glass-effect, .rounded-3.glass-effect, .list-group-item.glass-effect {
    color: #ffffff !important;
}

.list-group-item.glass-effect a {
    color: #feca57 !important;
}

.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    color: #ffffff;
}

.modal-header, .modal-footer {
    border-bottom: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    border: none;
}
.form-control::placeholder {
    color: #6c757d;
}

/* Audio Indicators */
.audio-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e74c3c;
    display: inline-block;
    margin: 0 10px;
    animation: pulse 1s infinite;
}

.audio-indicator.active {
    background: #27ae60;
    animation: pulse 0.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

/* Calendar Styles */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.calendar-day:hover {
    background: var(--glass-bg);
    border-color: var(--glass-border);
}

.calendar-day.other-month {
    opacity: 0.4;
    cursor: not-allowed;
}

.calendar-day.today {
    border-color: #feca57;
    background: rgba(254, 202, 87, 0.1);
}

.calendar-day.has-slots {
    background: rgba(39, 174, 96, 0.15);
    border: 1px solid rgba(39, 174, 96, 0.4);
}

.calendar-day.has-slots:hover {
     background: rgba(39, 174, 96, 0.3);
}

.day-number {
    font-weight: bold;
}

.slots-info {
    font-size: 0.75em;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .calendar-grid {
        gap: 4px;
    }
    .calendar-day {
        min-height: 60px;
        padding: 5px;
    }
}