@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&display=swap');

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

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #242424;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    overflow: hidden;
}

.logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto 15px;
}

.header {
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    color: #ffffff;
    padding: 30px;
    text-align: center;
}

.header h1 { 
    font-size: 20px; 
    margin-bottom: 10px;
    font-weight: 600;
    color: #ffffff;
}

.current-time {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 2px;
    color: #ffffff;
}

.current-date {
    font-size: 20px;
    margin-bottom: 15px;
    opacity: 0.95;
    font-weight: 500;
    color: #ffffff;
}

.header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.header-info span {
    color: #ffffff;
}

.content { 
    padding: 30px;
    background: #242424;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success { 
    background: #1a4d1a; 
    color: #7fff7f; 
    border: 1px solid #2d662d;
    white-space: pre-line;
}

.alert-success strong {
    font-weight: 700;
    font-size: 18px;
    color: #7fff7f;
}

.alert-error { 
    background: #4d1a1a; 
    color: #ff7f7f; 
    border: 1px solid #662d2d; 
}

.status-card {
    background: #2e2e2e;
    border-left: 4px solid #dc143c;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.current-status {
    font-size: 20px;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    font-family: 'Nunito', sans-serif;
}

.btn-primary { 
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    color: #ffffff; 
}

.btn-primary:hover { 
    background: linear-gradient(135deg, #ff1744 0%, #a00000 100%);
}

.btn-secondary { 
    background: #505050; 
    color: #ffffff; 
}

.btn-secondary:hover { 
    background: #606060; 
}

.btn-danger { 
    background: #dc3545; 
    color: #ffffff; 
}

.btn-danger:hover { 
    background: #c82333; 
}

.btn-info { 
    background: #404040; 
    color: #ffffff; 
}

.btn-info:hover { 
    background: #505050; 
}

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

form button[type="submit"] {
    margin-top: 10px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #e0e0e0;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #404040;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    background: #2e2e2e;
    color: #e0e0e0;
}

option {
    background: #2e2e2e;
    color: #e0e0e0;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #dc143c;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.logout-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    margin-left: 15px;
}

.logout-link:hover { 
    opacity: 1; 
}

.admin-link {
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.admin-link:hover { 
    background: rgba(255,255,255,0.2); 
}

.timeline {
    margin-top: 40px;
}

.timeline h2 {
    color: #e0e0e0;
    margin-bottom: 25px;
    font-size: 20px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #404040;
}

.timeline-time {
    font-weight: 700;
    color: #e0e0e0;
    min-width: 80px;
}

.timeline-content {
    flex: 1;
}

.timeline-status {
    font-weight: 700;
    margin-bottom: 5px;
    color: #e0e0e0;
}

.timeline-notes {
    color: #b0b0b0;
    font-size: 14px;
    font-style: italic;
}

.metadata {
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

.metadata a {
    color: #dc143c;
    text-decoration: none;
}

.metadata a:hover {
    color: #ff1744;
}

.metadata-item {
    display: inline-block;
    margin-right: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #404040;
    color: #e0e0e0;
}

th {
    background: #2e2e2e;
    font-weight: 700;
}

.section {
    margin-bottom: 40px;
}

.section h2 {
    color: #e0e0e0;
    margin-bottom: 20px;
}

.nav {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.badge-admin { 
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    color: #ffffff; 
}

.badge-user { 
    background: #505050; 
    color: #ffffff; 
}

.status-red {
    color: #ff6b6b;
    font-weight: 700;
}

.status-green {
    color: #51cf66;
    font-weight: 700;
}

.date-filter {
    display: flex;
    gap: 15px;
    align-items: end;
    margin-bottom: 20px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.footer {
    background: #2e2e2e;
    padding: 15px;
    text-align: center;
    color: #999;
    font-size: 12px;
    border-top: 1px solid #404040;
}

.footer a {
    color: #999;
    text-decoration: none;
}

.footer a:hover {
    color: #dc143c;
}