:root {
    --deepwave-nav-height: 60px;
    --deepwave-bg: #eef7fa;
    --deepwave-panel: #ffffff;
    --deepwave-panel-2: #dff0f5;
    --deepwave-ink: #132638;
    --deepwave-muted: #496172;
    --deepwave-line: rgba(129, 213, 235, 0.22);
    --deepwave-cyan: #36d7f4;
    --deepwave-green: #41c986;
    --deepwave-amber: #e1b43a;
    --deepwave-coral: #ef6b5a;
    --deepwave-white: #ffffff;
}

html {
    font-size: 15px;
    min-height: 100%;
    position: relative;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background: var(--deepwave-bg);
    color: var(--deepwave-ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
}

a {
    color: inherit;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem #071018, 0 0 0 0.25rem var(--deepwave-cyan);
}

.deepwave-nav {
    align-items: center;
    background: rgba(249, 252, 253, 0.94);
    border-bottom: 1px solid var(--deepwave-line);
    display: flex;
    gap: 18px;
    height: var(--deepwave-nav-height);
    justify-content: space-between;
    left: 0;
    padding: 0 18px;
    position: sticky;
    right: 0;
    top: 0;
    z-index: 3000;
}

.deepwave-nav-brand {
    align-items: center;
    color: #102536;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 900;
    gap: 10px;
    letter-spacing: 0;
    text-decoration: none;
}

.deepwave-nav-brand:hover {
    color: #102536;
}

.deepwave-nav-brand img {
    height: 32px;
    width: 32px;
}

.deepwave-nav-links {
    align-items: center;
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    min-width: 0;
    overflow-x: auto;
}

.deepwave-nav-links a {
    border: 1px solid transparent;
    border-radius: 8px;
    color: #29485c;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 10px;
    text-decoration: none;
    white-space: nowrap;
}

.deepwave-nav-links a:hover {
    background: rgba(8, 127, 165, 0.10);
    border-color: rgba(8, 127, 165, 0.24);
    color: #102536;
}

.deepwave-main {
    min-height: calc(100vh - var(--deepwave-nav-height));
}

.deepwave-footer {
    align-items: center;
    background: rgba(249, 252, 253, 0.94);
    border-top: 1px solid var(--deepwave-line);
    color: var(--deepwave-muted);
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 16px;
    justify-content: center;
    min-height: 44px;
    padding: 8px 16px;
}

.deepwave-footer a {
    color: #087fa5;
    text-decoration: none;
}

@media (max-width: 760px) {
    .deepwave-nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        height: auto;
        min-height: var(--deepwave-nav-height);
        padding: 10px 12px;
        position: sticky;
    }

    .deepwave-nav-links {
        justify-content: flex-start;
        width: 100%;
    }
}
