:root {
    --primary: #0056b3;
    --primary-hover: #004494;
    --bg: #f4f7f6;
    --text: #333;
    --text-muted: #666;
    --border-color: #dee2e6;
    --error: #d93025;
    --success: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary);
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container h1 {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

/* Tabs */
.tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #999;
    transition: all 0.3s;
}

.tab.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    background: #f8f9fa;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

.input-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.input-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

/* Alert Box */
.alert-box {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.alert-box i {
    color: #c53030;
    font-size: 1.25rem;
    margin-top: 2px;
}

.alert-box p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #9b2c2c;
    font-weight: 500;
}

/* Captcha Mock */
.captcha-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-img {
    background: #eee;
    padding: 8px 15px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 5px;
    font-style: italic;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 4px;
    user-select: none;
    flex-shrink: 0;
}

/* Table Section */
.status-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.status-link {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    display: block;
    text-align: center;
}

.table-container {
    margin-top: 15px;
    overflow-x: auto;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

th {
    background: #f8f9fa;
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
}

td {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
}

.status-icon {
    font-weight: bold;
}

.status-da { color: var(--success); }
.status-ne { color: var(--error); }

footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.75rem;
    color: #999;
}
