/* ========================================
   V2 Design System - Base Reset & Typography
   ======================================== */

/* Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--rd-bg);
    font-family: var(--rd-font-family);
    line-height: var(--rd-line-height-normal);
    color: var(--rd-text);
}

/* Reset common elements */
h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
}

/* Links */
.rd-link {
    color: var(--rd-primary-light);
    text-decoration: none;
    transition: color var(--rd-transition-fast);
}

.rd-link:hover {
    color: var(--rd-primary-hover);
    text-decoration: underline;
}

/* Cards */
.rd-card {
    background: var(--rd-bg-card);
    border-radius: var(--rd-radius-lg);
    box-shadow: var(--rd-shadow-card);
    padding: var(--rd-space-lg);
}

/* Empty state */
.rd-empty-state {
    text-align: center;
    padding: var(--rd-space-3xl) var(--rd-space-lg);
    color: var(--rd-text-muted);
}

.rd-empty-state-icon {
    font-size: 4rem;
    margin-bottom: var(--rd-space-lg);
    opacity: 0.5;
}

.rd-empty-state-title {
    font-size: var(--rd-font-size-xl);
    font-weight: var(--rd-font-weight-semibold);
    margin-bottom: var(--rd-space-sm);
    color: var(--rd-text);
}

.rd-empty-state-description {
    margin-bottom: var(--rd-space-lg);
}

/* Landing page full-bleed — !important beats scoped SsrLayout.razor.css */
.ssr-content:has(.landing-page) {
    max-width: none !important;
    padding: 0 !important;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .rd-hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .rd-hide-desktop {
        display: none !important;
    }
}
