/**
 * Smart Math Auth - Design Styles
 */

:root {
    --smt-primary: #2563eb;
    --smt-primary-hover: #1d4ed8;
    --smt-secondary: #64748b;
    --smt-success: #10b981;
    --smt-error: #ef4444;
    --smt-bg: #ffffff;
    --smt-border: #e2e8f0;
    --smt-text: #1e293b;
    --smt-text-light: #64748b;
}

.smt-auth-container {
    max-width: 450px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--smt-bg);
    border: 1px solid var(--smt-border);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--smt-text);
}

.smt-form-group {
    margin-bottom: 1.25rem;
}

.smt-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--smt-text);
}

.smt-form input[type="text"],
.smt-form input[type="email"],
.smt-form input[type="password"],
.smt-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--smt-border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.smt-form input:focus,
.smt-form select:focus {
    outline: none;
    border-color: var(--smt-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.smt-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: var(--smt-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.smt-btn:hover {
    background-color: var(--smt-primary-hover);
}

.smt-btn.secondary {
    background-color: var(--smt-secondary);
    margin-top: 1rem;
}

.smt-btn.secondary:hover {
    background-color: #475569;
}

.smt-message {
    margin-top: 1.25rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    text-align: center;
    display: none;
}

.smt-message:not(:empty) {
    display: block;
}

.smt-message.success {
    background-color: #ecfdf5;
    color: var(--smt-success);
    border: 1px solid #a7f3d0;
}

.smt-message.error {
    background-color: #fef2f2;
    color: var(--smt-error);
    border: 1px solid #fecaca;
}

.smt-profile-box h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    border-bottom: 1px solid var(--smt-border);
    padding-bottom: 0.5rem;
}

hr {
    border: 0;
    border-top: 1px solid var(--smt-border);
    margin: 2rem 0;
}

/* Responzivita */
@media (max-width: 480px) {
    .smt-auth-container {
        margin: 1rem;
        padding: 1.5rem;
    }
}