/**
 * SlideSync — Main Stylesheet
 */

:root {
    --slidesync-primary: #0d6efd;
    --slidesync-dark: #1a1a2e;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

main {
    flex: 1;
}

/* Auth */
.auth-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-container .card {
    border-radius: 1rem;
}

/* Dashboard stats */
.stat-card {
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Presentations */
.presentation-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.presentation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

.slide-thumb {
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #f8f9fa;
}

.qr-code {
    max-width: 250px;
}

/* Navbar brand */
.navbar-brand {
    letter-spacing: -0.5px;
}

/* PWA install prompt */
.pwa-install-bar {
    border-radius: 0.75rem;
}

/* Session detail — uniform fields & actions */
.session-field-group .form-control,
.session-field-group .btn {
    min-height: 2.5rem;
}

.session-field-group .btn {
    width: 2.75rem;
    padding-left: 0;
    padding-right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.session-actions .btn {
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
}

.session-action-form {
    margin: 0;
}
