/* =============================================================================
   SPEECHCUES.COM - CUSTOM APPLICATION STYLE SHEET
   ============================================================================= */

/* Root color tokens & Typography rules */
:root {
    --primary: #3B82F6;
    --primary-hover: #1D4ED8;
    --secondary: #64748B;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --bg-light: #F8FAFC;
    --slate-800: #1E293B;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-light);
    font-family: var(--font-body);
    color: #334155;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--slate-800);
    font-weight: 600;
}

/* Micro-animations and hover cards */
.hover-card {
    transition: var(--transition-smooth);
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    background: #ffffff;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -10px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Custom premium buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* Premium Navigation Header styles */
.navbar-brand span {
    letter-spacing: -0.5px;
}

.nav-link {
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Dashboard Component Styles */
.dashboard-card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    background: #ffffff;
}

.dashboard-stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Badge highlights */
.badge-certified {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Live Video Consultation view components */
.video-grid-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
    height: calc(100vh - 160px);
}

.main-video-feed {
    position: relative;
    background-color: #0F172A;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pip-local-feed {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 200px;
    height: 120px;
    background-color: var(--slate-800);
    border-radius: 12px;
    border: 2px solid #ffffff;
    z-index: 10;
    overflow: hidden;
}

.video-control-dock {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 30px;
    padding: 8px 24px;
    display: flex;
    gap: 15px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-control-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.video-control-btn.btn-hangup {
    background-color: var(--danger);
}

.video-control-btn.btn-hangup:hover {
    background-color: #DC2626;
}

/* Glassmorphism details */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Global utility details */
.hover-light:hover {
    color: #ffffff !important;
}

/* Form Styles */
.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    border-color: var(--primary);
}
