@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    min-height: 100vh;
    padding: 20px;
}

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

.header {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 { 
    font-size: 20px; 
    margin-bottom: 10px;
    font-weight: 500;
}

.current-time {
    font-size: 68px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.current-date {
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 0.95;
    font-weight: 500;
}

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

.content { 
    padding: 30px; 
}

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

.alert-success { 
    background: #d4edda; 
    color: #155724; 
    border: 1px solid #c3e6cb; 
}

.alert-error { 
    background: #f8d7da; 
    color: #721c24; 
    border: 1px solid #f5c6cb; 
}

.status-card {
    background: #f8f9fa;
    border-left: 4px solid #6c757d;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

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

.btn-primary { 
    background: #6c757d; 
    color: white; 
}

.btn-primary:hover { 
    background: #5a6268; 
}

.btn-secondary { 
    background: #6c757d; 
    color: white; 
}

.btn-secondary:hover { 
    background: #5a6268; 
}

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

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

.btn-info { 
    background: #495057; 
    color: white; 
}

.btn-info:hover { 
    background: #343a40; 
}

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

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

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

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

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

.logout-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
}

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

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

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

.timeline {
    margin-top: 30px;
}

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

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

.timeline-content {
    flex: 1;
}

.timeline-status {
    font-weight: 600;
    margin-bottom: 5px;
}

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

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

.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 #e0e0e0;
}

th {
    background: #f8f9fa;
    font-weight: 600;
}

.section {
    margin-bottom: 40px;
}

.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: 600;
}

.badge-admin { 
    background: #adb5bd; 
    color: #000; 
}

.badge-user { 
    background: #6c757d; 
    color: white; 
}

.status-red {
    color: #dc3545;
    font-weight: 600;
}

.status-green {
    color: #28a745;
    font-weight: 600;
}

.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: #f8f9fa;
    padding: 15px;
    text-align: center;
    color: #999;
    font-size: 11px;
    border-top: 1px solid #e0e0e0;
}

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

.footer a:hover {
    color: #6c757d;
}