/* Fallback when Vite build is absent — THCRI LMS guest pages */
body.guest-body,
body.font-sans.text-brand-950 {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.guest-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem 2rem;
    box-sizing: border-box;
}

.guest-page--branded {
    justify-content: flex-start;
    padding-top: 2.5rem;
}

.guest-brand-block {
    margin-bottom: 1.25rem;
    text-align: center;
}

.guest-brand-link {
    color: inherit;
}

.guest-logo-wrap {
    margin-bottom: 0.5rem;
}

.guest-logo-wrap svg {
    width: 5rem;
    height: 5rem;
    color: #6b7280;
}

.guest-card {
    width: 100%;
    max-width: 28rem;
    margin-top: 1rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(5, 21, 37, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

.guest-card--branded {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.guest-card label,
.guest-card .block {
    display: block;
}

.guest-card .mt-1 {
    margin-top: 0.25rem;
}

.guest-card .mt-2 {
    margin-top: 0.5rem;
}

.guest-card .mt-4 {
    margin-top: 1rem;
}

.guest-card input[type="email"],
.guest-card input[type="password"],
.guest-card input[type="text"] {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    box-sizing: border-box;
}

.guest-card input[type="email"]:focus,
.guest-card input[type="password"]:focus,
.guest-card input[type="text"]:focus {
    outline: 2px solid #2f5770;
    outline-offset: 0;
    border-color: #2f5770;
}

.guest-card input[type="checkbox"] {
    border-radius: 0.25rem;
    border-color: #cbd5e1;
    accent-color: #2f5770;
}

.guest-card .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.guest-card .text-gray-600 {
    color: #475569;
}

.guest-card .underline {
    text-decoration: underline;
}

.guest-card a {
    color: #2f5770;
}

.guest-card a:hover {
    color: #24465a;
}

.guest-card .inline-flex {
    display: inline-flex;
    align-items: center;
}

.guest-card .ms-2 {
    margin-left: 0.5rem;
}

.guest-card .ms-3 {
    margin-left: 0.75rem;
}

.guest-card .flex {
    display: flex;
}

.guest-card .items-center {
    align-items: center;
}

.guest-card .justify-end {
    justify-content: flex-end;
}

.guest-card button[type="submit"],
.guest-card .guest-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: #2f5770;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
}

.guest-card button[type="submit"]:hover {
    background: #24465a;
}

.guest-card .text-red-600,
.guest-card ul.text-red-600 {
    color: #dc2626;
    font-size: 0.875rem;
    margin: 0.25rem 0 0;
    padding-left: 1.25rem;
}

.guest-card .mb-4 {
    margin-bottom: 1rem;
}

.guest-card .font-medium {
    font-weight: 500;
}

.guest-card .rounded-md {
    border-radius: 0.375rem;
}
