/* ============================================================================
   SchulOra Support - Global Styles
   ============================================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1f2937;
    background: #f8fafc;
    -webkit-font-smoothing: antialiased;
}

a { color: #4f46e5; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Buttons */
.ts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.ts-btn--primary {
    background: #4f46e5;
    color: #fff;
}
.ts-btn--primary:hover { background: #4338ca; }
.ts-btn--primary:disabled { background: #a5b4fc; cursor: not-allowed; }

.ts-btn--secondary {
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
}
.ts-btn--secondary:hover { background: #f9fafb; border-color: #9ca3af; }

.ts-btn--full { width: 100%; }

/* Form validation */
.validation-message {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 2px;
}

/* Error display */
.ts-error {
    text-align: center;
    padding: 40px;
    color: #dc2626;
}

.ts-not-found {
    text-align: center;
    padding: 80px 20px;
    color: #6b7280;
}
.ts-not-found h2 {
    font-family: 'Syne', sans-serif;
    color: #1f2937;
    margin-bottom: 8px;
}
.ts-not-found p {
    margin-bottom: 24px;
}

/* Form inputs */
.ts-form-input {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: #1f2937;
    width: 100%;
}
.ts-form-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.ts-form-input[readonly] {
    background: #f9fafb;
    color: #6b7280;
}

select.ts-form-input {
    appearance: auto;
    cursor: pointer;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }
