@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/roboto-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/roboto-bold.woff2') format('woff2');
}

:root {
    --ci-header: #1a2527;
    --ci-bg: #2b3e40;
    --ci-panel-2: #1f2e30;
    --ci-border: rgba(255, 255, 255, 0.12);
    --ci-text: #ecf2f1;
    --ci-muted: #cfe3e0;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--ci-bg);
    color: var(--ci-text);
    display: flex;
    flex-direction: column;
}

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: inherit;
}

.header-bar {
    background-color: var(--ci-header);
}

.header-bar__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-bar__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ci-muted);
    font-size: 0.95rem;
}

.header-bar__brand img {
    height: 32px;
    width: auto;
}

.ci-main {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 60px;
    flex: 1;
}

.ci-section {
    text-align: center;
    margin-bottom: 48px;
}

.ci-section h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin: 0;
}

.ci-section p {
    margin: 16px 0 0;
    color: var(--ci-muted);
    font-size: clamp(1rem, 2.4vw, 1.125rem);
}

.ci-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--ci-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.ci-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
    align-items: end;
}

.ci-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ci-col label {
    font-size: 0.95rem;
    color: var(--ci-muted);
}

.ci-input,
.ci-select {
    background-color: var(--ci-panel-2);
    border: 1px solid var(--ci-border);
    color: var(--ci-text);
    border-radius: 10px;
    padding: 12px;
    width: 100%;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    font-size: 1rem;
}

.ci-input:focus,
.ci-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.ci-meta {
    color: var(--ci-muted);
    font-size: 0.95rem;
    margin-top: 8px;
}

.ci-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    color: var(--ci-muted);
    font-size: 0.95rem;
}

.ci-btn {
    background-color: var(--ci-header);
    color: var(--ci-text);
    font-weight: 700;
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid var(--ci-border);
    transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.ci-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.ci-card h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
}

.ci-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.ci-card__timestamp {
    color: var(--ci-muted);
    font-size: 0.95rem;
}

.ci-table-wrapper {
    max-height: 70vh;
    overflow: auto;
}

.ci-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
}

.ci-table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: var(--ci-panel-2);
    color: var(--ci-muted);
    font-weight: 600;
    padding: 12px;
}

.ci-table td {
    padding: 12px;
    border-bottom: 1px solid var(--ci-border);
}

.ci-table td:last-child,
.ci-table th:last-child {
    text-align: right;
}

.ci-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .ci-main {
        padding: 48px 32px 80px;
    }

    .ci-section {
        margin-bottom: 60px;
    }

    .ci-card {
        padding: 32px;
    }

    .ci-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 20px;
    }

    .ci-col--6 {
        grid-column: span 6;
    }

    .ci-col--12 {
        grid-column: span 12;
    }
}

@media (max-width: 480px) {
    .header-bar__inner {
        padding: 12px 16px;
    }

    .ci-card {
        padding: 20px;
    }
}
