/* EloMeet - App CSS
   Tailwind CDN covers most styling. This file adds small polish for things
   the CDN config can't easily do (e.g. animations, print, focus states).
*/

/* Smooth transitions for interactive elements */
button, a, input, select, textarea {
    transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

/* Better focus visibility for accessibility */
:focus-visible {
    outline: 2px solid var(--brand-600, #2563eb);
    outline-offset: 2px;
}

/* Hide number input spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] { -moz-appearance: textfield; }

/* Print: hide sidebar/header/footer */
@media print {
    aside, header, footer { display: none !important; }
    body { background: #fff; }
    main { padding: 0 !important; }
}

/* Empty state illustrations */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #94a3b8;
}

/* Mobile sidebar toggle */
@media (max-width: 767px) {
    #sidebar { position: fixed; top: 0; left: 0; bottom: 0; z-index: 50; }
    #sidebar.hidden { display: none !important; }
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-top-color: var(--brand-600, #2563eb);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Jitsi IFrame responsive sizing */
#jitsi-container {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 600px;
}
