/* Shared auth/content style for pages still referencing google-style.css */

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

:root {
    --google-blue: #1a73e8;
    --google-red: #ea4335;
    --google-yellow: #fbbc04;
    --google-green: #34a853;
    --grey-100: #f1f3f4;
    --grey-200: #e8eaed;
    --grey-300: #dadce0;
    --grey-600: #5f6368;
    --grey-800: #3c4043;

    --md-sys-color-primary: var(--google-blue);
    --md-sys-color-on-primary: #ffffff;
    --md-sys-color-primary-container: #e8f0fe;
    --md-sys-color-background: #f8f9fa;
    --md-sys-color-surface: #ffffff;
    --md-sys-color-surface-variant: var(--grey-100);
    --md-sys-color-outline: var(--grey-300);
    --md-sys-color-high-emphasis: #202124;
    --md-sys-color-medium-emphasis: var(--grey-600);
    --md-sys-color-disabled-text: #9aa0a6;
    --md-sys-color-error: var(--google-red);
    --md-sys-color-success: var(--google-green);
    --md-sys-color-warning: var(--google-yellow);
    --md-sys-color-info: var(--google-blue);
    --md-sys-color-info-container: #e8f0fe;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 30px rgba(60, 64, 67, 0.12);

    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
}

body {
    font-family: 'Google Sans', 'Roboto', Arial, sans-serif;
    background: var(--md-sys-color-background);
    color: var(--md-sys-color-high-emphasis);
}

.card {
    background: var(--md-sys-color-surface);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
    font-size: 14px;
}

.alert-error {
    background: #fce8e6;
    color: #b3261e;
    border-left: 4px solid var(--md-sys-color-error);
}

.alert-success {
    background: #e6f4ea;
    color: #137333;
    border-left: 4px solid var(--md-sys-color-success);
}

.btn {
    border: none;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-filled {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
}

.btn-filled:hover {
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--md-sys-color-outline);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 14px;
    color: var(--md-sys-color-high-emphasis);
    background: var(--md-sys-color-surface);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 0 0 2px var(--md-sys-color-primary-container);
}

/* Compatibility for legacy markup using class="material-icon" */
.material-icon {
    font-family: 'Material Icons Round', 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'liga';
}

