/* base.css - Variables and Resets */
:root {
    /* Colors based on Figma */
    --primary-color: #185ADB; /* Royal Blue */
    --primary-hover: #144CB3;
    --text-main: #1A1A1A; /* Dark Gray / Black */
    --text-muted: #666666;
    --text-dark: #1e293b;
    --bg-main: #FFFFFF;
    --bg-light: #F5F7FA;
    --border-color: #E2E8F0;

    /* Typography */
    --font-main: 'Mulish', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

:where(#onepro-wrapper) * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Reset header — nằm ngoài #onepro-wrapper nên phải reset riêng */
#site-header * {
    box-sizing: border-box;
}

#site-header ul,
#site-header ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

#site-header a {
    text-decoration: none;
    color: inherit;
}

/* Reset footer */
.site-footer * {
    box-sizing: border-box;
}

.site-footer a {
    text-decoration: none;
}

#onepro-wrapper {
    font-family: var(--font-main) !important;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

#onepro-wrapper li {
    color: inherit;
}

#onepro-wrapper strong, #onepro-wrapper b {
    color: inherit;
}

:where(#onepro-wrapper) a {
    text-decoration: none;
    color: inherit;
}

:where(#onepro-wrapper) ul {
    list-style: none;
}

:where(#onepro-wrapper) img {
    max-width: 100%;
    height: auto;
    display: block;
}

.onepro-container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .onepro-container {
        width: 100%;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        box-sizing: border-box;
    }
}

/* 404 page */
.error-404-page {
    display: flex;
    align-items: center;
    min-height: 60vh;
    padding: 5rem 0;
}

.error-404-wrap {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.error-404-code {
    font-size: 7rem;
    font-weight: 900;
    color: #E8ECF4;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-main);
}

.error-404-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.error-404-desc {
    font-size: 1rem;
    color: #6B7280;
    margin-bottom: 2rem;
}

/* Typography classes */
#onepro-wrapper h1, #onepro-wrapper h2, #onepro-wrapper h3, #onepro-wrapper h4, #onepro-wrapper h5, #onepro-wrapper h6 {
    line-height: 1.3;
    font-weight: 700;
    font-family: var(--font-main) !important;
    color: inherit;
}
