@font-face {
    font-family: 'Proxima Nova';
    src: url('https://aurea.com/wp-content/themes/aurea-cs-2020/css/fonts/ProximaNova-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Proxima Nova';
    src: url('https://aurea.com/wp-content/themes/aurea-cs-2020/css/fonts/ProximaNova-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f7fa;
    color: #1a1a2e;
    font-size: 0.9rem;
}

.navbar {
    height: 56px;
    background: #1b365d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    color: #fff;
}
.navbar-brand { font-size: 1.1rem; font-weight: 700; }
.navbar-right { display: flex; align-items: center; gap: 16px; }
.navbar-right span { font-size: 0.85rem; opacity: 0.8; }
#logout-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    transition: background 0.15s;
}
#logout-btn:hover { background: rgba(255,255,255,0.1); }

.container { max-width: 1100px; margin: 24px auto; padding: 0 24px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}
.card-label { font-size: 0.75rem; color: #888; text-transform: uppercase; letter-spacing: 0.05em; }
.card-value { font-size: 2rem; font-weight: 700; color: #1b365d; margin-top: 4px; }
.card-sub { font-size: 0.8rem; color: #999; margin-top: 2px; }

.tabs { display: flex; gap: 0; border-bottom: 2px solid #e2e8f0; margin-bottom: 0; }
.tab {
    background: none;
    border: none;
    padding: 12px 20px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #888;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}
.tab:hover { color: #1b365d; }
.tab.active { color: #1b365d; font-weight: 700; border-bottom-color: #1b365d; }

.tab-content { display: none; padding-top: 16px; }
.tab-content.active { display: block; }

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}
th {
    text-align: left;
    padding: 12px 16px;
    background: #f8fafc;
    color: #888;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    border-bottom: 1px solid #e2e8f0;
}
td {
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.85rem;
}
tr:hover td { background: #f8fafc; }

.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}
.badge-active { background: #e8f5e9; color: #2e7d32; }
.badge-deployed { background: #e3f2fd; color: #1565c0; }
.badge-error { background: #fce8e8; color: #d32f2f; }
.badge-on-target { background: #e8f5e9; color: #2e7d32; }
.badge-off-target { background: #fff3e0; color: #e65100; }

.progress-bar {
    position: relative;
    height: 20px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    position: absolute;
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s;
}
.progress-target {
    position: absolute;
    height: 100%;
    width: 2px;
    background: #1b365d;
}

a.jira-link {
    color: #1b365d;
    text-decoration: none;
    font-weight: 600;
}
a.jira-link:hover { text-decoration: underline; }

.footer {
    text-align: right;
    color: #999;
    font-size: 0.75rem;
    margin-top: 16px;
    padding: 8px 0;
}

@media (max-width: 768px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
}
