/* Form Forge theme override for WildwoodComponents.Razor
 * Maps Form Forge's Cool Blue theme to --ww-* variables.
 * Include AFTER wildwood-razor-themes.css in the layout.
 */
:root {
    /* Match Form Forge Cool Blue design system */
    --ww-primary: #3B7EA1;
    --ww-primary-dark: #2C5F7A;
    --ww-primary-light: #5A9BBF;

    /* Standard backgrounds — Warm Cream */
    --ww-bg-primary: #ffffff;
    --ww-bg-secondary: #FAF8F5;
    --ww-bg-tertiary: #F5F0E8;

    /* Text */
    --ww-text-primary: #2D3A42;
    --ww-text-secondary: #5A6B75;
    --ww-text-muted: #7A8D98;
    --ww-text-inverse: #ffffff;

    /* Cool Blue status colors */
    --ww-success: #3A7A7A;
    --ww-danger: #8C5A4A;
    --ww-warning: #B89848;
    --ww-info: #6BA3C7;

    /* Form inputs */
    --ww-input-bg: #ffffff;
    --ww-focus-border: #6BA3C7;
    --ww-focus-shadow: rgba(107, 163, 199, 0.25);

    /* Borders — Warm */
    --ww-border-color: #D4CCBC;
    --ww-border-radius: 0.375rem;
    --ww-border-radius-sm: 0.25rem;
    --ww-border-radius-lg: 0.5rem;

    /* Shadows */
    --ww-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    --ww-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);

    /* Buttons */
    --ww-btn-primary-text: #ffffff;
}

/* Form Forge auth card header — warm cream to match content cards */
.ww-auth-component .ww-card-header {
    background-color: #F5F0E8;
    color: #2D3A42;
    border-bottom: 1px solid #D4CCBC;
}

/* Ensure form controls match Cool Blue styling */
.ww-auth-component .form-control {
    border-color: var(--ww-border-color);
}

.ww-auth-component .form-control:focus {
    border-color: var(--ww-focus-border);
    box-shadow: 0 0 0 0.25rem var(--ww-focus-shadow);
}

.ww-auth-component .btn-primary {
    background: linear-gradient(135deg, #3B7EA1 0%, #2C5F7A 100%);
    border-color: var(--ww-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.ww-auth-component .btn-primary:hover {
    background: linear-gradient(135deg, #5A9BBF 0%, #3B7EA1 100%);
    border-color: var(--ww-primary-dark);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
