/* KNW Kids — Platform Auth Forms */

.knw-auth {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.knw-auth__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 2rem 2.25rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Title & description */

.knw-auth__title {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1.5rem;
    line-height: 1.3;
}

.knw-auth__description {
    color: #6b7280;
    font-size: 1.875rem;
    margin: -0.75rem 0 1.5rem;
    line-height: 1.5;
}

/* Fields */

.knw-auth__field {
    margin-bottom: 1.25rem;
}

.knw-auth__field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.knw-auth__field--inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.knw-auth__label {
    display: block;
    font-size: 1.75rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.375rem;
}

.knw-auth__required {
    color: #ef4444;
    font-weight: 600;
}

.knw-auth__input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1.875rem;
    color: #111827;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    line-height: 1.5;
}

.knw-auth__input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.knw-auth__input::placeholder {
    color: #9ca3af;
}

.knw-auth__hint {
    display: block;
    font-size: 1.625rem;
    color: #9ca3af;
    margin-top: 0.3rem;
}

/* Checkbox */

.knw-auth__checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.75rem;
    color: #374151;
    cursor: pointer;
}

.knw-auth__checkbox {
    accent-color: #3b82f6;
    width: 15px;
    height: 15px;
}

/* Submit button */

.knw-auth__submit {
    display: block;
    width: 100%;
    padding: 0.7rem 1rem;
    background: #2563eb;
    color: #fff;
    font-size: 1.875rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
    text-align: center;
    letter-spacing: 0.01em;
}

.knw-auth__submit:hover {
    background: #1d4ed8;
}

.knw-auth__submit:active {
    background: #1e40af;
}

.knw-auth__submit:disabled {
    background: #93c5fd;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Links */

.knw-auth__link {
    color: #2563eb;
    text-decoration: none;
    font-size: 1.75rem;
}

.knw-auth__link:hover {
    text-decoration: underline;
}

.knw-auth__link--small {
    font-size: 1.625rem;
    color: #6b7280;
}

.knw-auth__link--small:hover {
    color: #2563eb;
}

/* Footer */

.knw-auth__footer {
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: 1.75rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Notice / alert */

.knw-auth__notice {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 1.75rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    border: 1px solid transparent;
}

.knw-auth__notice--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

.knw-auth__notice--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}

.knw-auth__notice--info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

/* Standalone info notice (outside a card) */
.knw-auth__notice.knw-auth__notice--info:not(.knw-auth__card *) {
    border-radius: 6px;
    max-width: 440px;
    margin: 0 auto;
}

/* Responsive */

@media (max-width: 480px) {
    .knw-auth__card {
        padding: 1.5rem 1.25rem;
    }

    .knw-auth__field-row {
        grid-template-columns: 1fr;
    }
}
