/*
Theme Name: DigiCON Shuttles
Theme URI: https://www.schneider-om.com/
Author: DigiCON Operations
Author URI: https://www.schneider-om.com/
Description: SCHNEIDER Optical Machines styling for the DigiCON 2026 operational dashboard. Renders the public board on the homepage. Use with the DigiCON Shuttles plugin.
Version: 0.3.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: Proprietary
Text Domain: digicon-shuttles-theme
*/

:root {
    --dc-bg: #f4f5f7;
    --dc-fg: #191919;
    --dc-muted: #6b7280;
    --dc-brand: #db0812;
    --dc-brand-hover: #b0060e;
    --dc-brand-fg: #ffffff;
    --dc-link: #2b2b2b;
    --dc-link-hover: #db0812;
    --dc-danger: #db0812;
    --dc-warn: #d99b00;
    --dc-success: #2d672d;
    --dc-border: #d8dce3;
    --dc-card: #ffffff;
    --dc-panel: #2b2b2b;
    --dc-panel-deep: #1a1a1a;
    --dc-radius: 4px;
    --dc-shadow: 0 1px 2px rgba(15, 19, 32, 0.06), 0 1px 3px rgba(15, 19, 32, 0.04);
    --dc-maxw: 1180px;
    --dc-font: "Ubuntu", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--dc-bg);
    color: var(--dc-fg);
    font-family: var(--dc-font);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--dc-link); text-decoration: none; }
a:hover { color: var(--dc-link-hover); text-decoration: underline; }

/* Brand accent strip */
.dc-site-topbar {
    height: 4px;
    background: var(--dc-brand);
    width: 100%;
}

.dc-site-header {
    background: var(--dc-panel-deep);
    color: #ffffff;
}

.dc-site-header__inner {
    max-width: var(--dc-maxw);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.dc-site-header__brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 280px;
    min-width: 0;
}

.dc-site-header__brand a,
.dc-site-header__brand a:hover {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.dc-site-header__logo {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    flex-shrink: 0;
}

.dc-site-header__brand .custom-logo-link img,
.dc-site-header__brand img.custom-logo {
    max-height: 40px;
    width: auto;
    display: block;
}

.dc-site-header__mark {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    background: var(--dc-brand);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.dc-site-header__title {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.dc-site-header__sub {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    margin-top: 2px;
    font-weight: 300;
}

.dc-site-header__meta {
    margin-left: auto;
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    text-align: right;
    font-weight: 400;
    max-width: 320px;
    line-height: 1.45;
}

.dc-site-main {
    max-width: var(--dc-maxw);
    margin: 0 auto;
    padding: 28px 24px;
}

.dc-card {
    background: var(--dc-card);
    border: 1px solid var(--dc-border);
    border-radius: var(--dc-radius);
    box-shadow: var(--dc-shadow);
    padding: 22px 26px;
    margin-bottom: 22px;
    border-top: 3px solid var(--dc-brand);
}

.dc-page-title {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.dc-page-lede {
    color: var(--dc-muted);
    margin: 0 0 18px;
    font-weight: 300;
}

.dc-site-footer {
    margin-top: 40px;
    padding: 22px 24px 32px;
    color: var(--dc-muted);
    font-size: 12px;
    text-align: center;
    border-top: 1px solid var(--dc-border);
    background: #ffffff;
    line-height: 1.55;
}

.dc-site-footer strong {
    color: var(--dc-fg);
    font-weight: 500;
}

.post-password-form {
    background: var(--dc-card);
    border: 1px solid var(--dc-border);
    border-radius: var(--dc-radius);
    box-shadow: var(--dc-shadow);
    padding: 28px;
    max-width: 460px;
    margin: 30px auto;
    border-top: 3px solid var(--dc-brand);
}

.post-password-form p { margin: 0 0 14px; color: var(--dc-fg); }
.post-password-form label { display: block; font-weight: 500; margin-bottom: 8px; }
.post-password-form input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--dc-border);
    border-radius: var(--dc-radius);
    font-size: 15px;
    margin-bottom: 14px;
    font-family: var(--dc-font);
}
.post-password-form input[type="password"]:focus {
    outline: 0;
    border-color: var(--dc-panel);
    box-shadow: 0 0 0 3px rgba(219, 8, 18, 0.12);
}
.post-password-form input[type="submit"] {
    background: var(--dc-brand);
    color: var(--dc-brand-fg);
    border: 0;
    border-radius: var(--dc-radius);
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: var(--dc-font);
    transition: background 0.15s;
}
.post-password-form input[type="submit"]:hover { background: var(--dc-brand-hover); }

.dc-empty {
    color: var(--dc-muted);
    font-style: italic;
}

@media (max-width: 720px) {
    .dc-site-header__meta { margin-left: 0; text-align: left; width: 100%; max-width: none; }
    .dc-site-main { padding: 18px 14px; }
    .dc-card { padding: 16px; }
}
