.page-background {
    background-image: url(images/background.png);
}

    .page-background > * {
        display: flex;
    }

.corner-radius {
    border-radius: 4px;
}

.loading-overlay {
    backdrop-filter: blur(6px);
    z-index: 50;
}

.loading-card {
    border-radius: 16px;
    min-width: 280px;
}

/* Home Page Styles */
.home-container {
    min-height: calc(100vh - var(--var-ps-appbar-height));
    display: flex;
    flex-direction: column;
}

.hero-section {
    padding: 50px 0 40px;
    background: linear-gradient(135deg, #dde4e3 0%, #b8c5c3 100%);
    color: #23366f;
    flex-shrink: 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-icon-wrapper {
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-icon {
    font-size: 96px !important;
    width: 96px;
    height: 96px;
    filter: drop-shadow(0 4px 12px rgba(35, 54, 111, 0.2));
    color: #003087 !important;
}

.hero-title {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(35, 54, 111, 0.1);
    letter-spacing: -0.5px;
    color: #23366f;
}

.hero-subtitle {
    margin-bottom: 32px;
    opacity: 0.85;
    line-height: 1.5;
    font-size: 1.1rem;
    font-weight: 400;
    color: #23366f;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Input Field */
.modern-input {
    flex: 1;
    min-width: 250px;
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    height: 56px;
    transition: box-shadow 0.3s ease;
}

    .modern-input:focus-within {
        box-shadow: 0 4px 12px rgba(0, 181, 226, 0.4);
    }

    .modern-input .input-icon {
        width: 20px;
        height: 20px;
        margin-left: 16px;
        color: #00B5E2;
        flex-shrink: 0;
    }

.modern-input-field {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    padding: 0 16px;
    height: 100%;
    color: #333;
    font-family: inherit;
}

    .modern-input-field::placeholder {
        color: #999;
    }

/* Modern Button */
.modern-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    padding: 0 32px;
    background: #2167ae;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    font-family: inherit;
}

    .modern-button:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        background: #009FCA;
    }

    .modern-button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        background: #D9D9D6;
        color: #666;
    }

    .modern-button .button-icon {
        width: 20px;
        height: 20px;
    }

.start-button {
    height: 56px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    background: white !important;
    color: #2167ae !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

    .start-button:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        background: #f8f9fa !important;
    }

    .start-button:disabled {
        opacity: 0.6;
        background: rgba(255,255,255,0.7) !important;
    }

.features-section {
    background: linear-gradient(180deg, #dad2bd 0%, #ccc3aa 100%);
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.features-container {
    padding: 40px 0 60px;
}

.feature-card {
    padding: 24px;
    text-align: center;
    height: 100%;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 26, 77, 0.15);
        border-color: transparent;
    }

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .feature-icon-wrapper.primary {
        background: linear-gradient(135deg, #003087 0%, #001A4D 100%);
        color: white;
    }

    .feature-icon-wrapper.success {
        background: linear-gradient(135deg, #00B5E2 0%, #0099C7 100%);
        color: white;
    }

    .feature-icon-wrapper.info {
        background: linear-gradient(135deg, #6EC6E6 0%, #4DB8DD 100%);
        color: #001A4D;
    }

    .feature-icon-wrapper.warning {
        background: linear-gradient(135deg, #E6E6E3 0%, #D9D9D6 100%);
        color: #003087;
    }

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.feature-description {
    color: #5a6c7d;
    line-height: 1.5;
    font-size: 0.9rem;
}

.info-banner {
    margin-top: 32px;
    padding: 20px 24px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--mud-palette-info);
}

/* Presenter Page Styles */
.presenter-splitter {
    background: #f5f7f8;
}

.presenter-sidebar {
    height: 100%;
    overflow: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #dde4e3;
    padding: 24px;
}

.presenter-content-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.presenter-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.presenter-header-icon {
    color: #2167ae;
    font-size: 32px !important;
    width: 32px;
    height: 32px;
}

    .presenter-header-icon.success {
        color: #45890b;
    }

.presenter-header-title {
    color: #23366f;
    font-weight: 600;
}

.presenter-info-alert {
    border-color: #00B5E2 !important;
    background: rgba(0, 181, 226, 0.05) !important;
}

.presenter-link-wrapper {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.presenter-link-input {
    flex: 1;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    background: #f9fafb;
    font-family: 'Courier New', monospace;
}

    .presenter-link-input:focus {
        outline: none;
        border-color: #2167ae;
        box-shadow: 0 0 0 3px rgba(33, 103, 174, 0.1);
    }

.presenter-copy-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: #2167ae;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .presenter-copy-button:hover {
        background: #1a5287;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(33, 103, 174, 0.3);
    }

.presenter-waiting-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px 0;
}

.presenter-waiting-text {
    color: #5a6c7d;
}

.presenter-video-container {
    width: 100%;
    height: 100%;
    background: #ccc3aa;
}

.text-muted {
    color: #5a6c7d;
}
