/* App.kt's MaterialTheme has no custom Typography/FontFamily, so it uses Compose's
   FontFamily.Default — which Skia resolves via the OS's own UI font (SF Pro on Mac, Segoe UI on
   Windows, Roboto on Android/ChromeOS). A hardcoded Arial here doesn't track that per-OS
   resolution and renders visibly heavier at the same numeric font-weight than Skia's actual
   default. A system font stack is the standard way to approximate "the OS's native UI font" on
   the web. */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Shared PrimaryButton — mirrors CardButton in Buttons.kt:
   Card(shape=RoundedCornerShape(8dp), elevation=4dp, outlinedCardBorder)
   wrapping a Row with linearGradient(primary → primary@80%) fill.
   Text: labelLarge + FontWeight.SemiBold + letterSpacing 0.12em.
   Source is 280x60dp; Material Design 3 web spec for filled buttons is 40px — the larger
   dp value on Android compensates for 2-3x display density which doesn't apply on web. */
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 280px;
    height: 40px;
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(to bottom right, #006a8e, rgba(0, 106, 142, 0.8));
    color: #ffffff;
    border: 1px solid rgba(46, 44, 40, 0.12);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14), 0 1px 8px rgba(0, 0, 0, 0.10);
    transition: opacity 0.15s ease;
    user-select: none;
}

.primary-button:hover:not(:disabled):not(.primary-button-disabled) {
    opacity: 0.92;
}

.primary-button:disabled,
.primary-button.primary-button-disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

/* Shared OutlinedButton — same 40px web height as .primary-button. */
.outlined-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 280px;
    height: 40px;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
    color: #006a8e;
    border: 1px solid rgba(0, 106, 142, 0.8);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: background-color 0.15s ease;
    user-select: none;
}

.outlined-button:hover {
    background: rgba(0, 106, 142, 0.08);
}

.outlined-button:disabled,
.outlined-button.outlined-button-disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}
