 { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #10141c;
    color: #e9eef7;
}

/* Links */
a { 
    color: #8ecbff; 
    text-decoration: none; 
}
a:hover { 
    text-decoration: underline; 
}

/* Header */
.header {
    background: #172033;
    border-bottom: 1px solid #2f3d5c;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Layout */
.container { 
    max-width: 1350px; 
    margin: 28px auto; 
    padding: 0 18px; 
}

/* Login Box */
.login-box {
    max-width: 430px;
    margin: 90px auto;
    background: #172033;
    border: 1px solid #2f3d5c;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
}

/* Login Title + Subtitle */
.login-box h2 {
    margin-bottom: 6px;
}

.subtitle {
    font-size: 13px;
    color: #b7c7df;
    opacity: 0.85;
    margin-bottom: 14px;
}

/* Cards */
.card {
    background: #172033;
    border: 1px solid #2f3d5c;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 22px;
}

/* Inputs */
input, select, button {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border-radius: 8px;
    border: 1px solid #2f3d5c;
    background: #0f1624;
    color: #e9eef7;
}

/* Buttons */
button {
    background: #2f7cff;
    border: 0;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #3f8cff;
}

button.danger { 
    background: #b71c1c; 
}

button.danger:hover {
    background: #d32f2f;
}

/* Tables */
table { 
    width: 100%; 
    border-collapse: collapse; 
}

th, td { 
    padding: 11px; 
    border-bottom: 1px solid #2f3d5c; 
    text-align: left; 
    vertical-align: top; 
}

th { 
    color: #b7c7df; 
}

/* Status Badges */
.badge { 
    padding: 5px 10px; 
    border-radius: 999px; 
    font-weight: bold; 
    display: inline-block; 
    font-size: 12px;
    letter-spacing: 0.3px;
}

/* Recording (Green) */
.badge.green { 
    background: rgba(35, 180, 90, 0.18); 
    color: #7cff9b; 
}

/* Not Recording (Orange) — used on main dashboard only */
.badge.orange { 
    background: rgba(255, 170, 70, 0.18); 
    color: #ffb36b; 
}

/* Complete (Yellow) — used on log pages */
.badge.yellow { 
    background: rgba(255, 209, 102, 0.18); 
    color: #ffd166; 
}

/* Text helpers */
.error { 
    color: #ff7777; 
}

.muted { 
    color: #b7c7df; 
}

/* Chat Logs */
.log-line { 
    border-bottom: 1px solid #2f3d5c; 
    padding: 10px 0; 
}