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

body { font-family: 'Open Sans', sans-serif; background-color: #f8f9fa; margin: 0; padding: 0; color: #333; }
body.login-page { background: #212529; display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 15px; box-sizing: border-box; }
.login { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); width: 100%; max-width: 400px; box-sizing: border-box; }
.login input, .login button { width: 100%; padding: 14px; margin-bottom: 15px; box-sizing: border-box; border-radius: 4px; border: 1px solid #ccc; font-size: 15px; font-family: 'Open Sans', sans-serif; }
.login button { background: #dc3545; color: white; font-weight: bold; cursor: pointer; border: none; transition: 0.3s; }
.login button:hover { background: #c82333; }

.navbar { background: #212529; color: white; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.2); flex-wrap: wrap; gap: 15px; }
.btn-logout { background: #dc3545; color: white; text-decoration: none; padding: 8px 15px; border-radius: 4px; font-weight: bold; font-size: 14px; }
.container { max-width: 1000px; margin: 20px auto; padding: 0 15px; box-sizing: border-box; }
.card { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); margin-bottom: 25px; border-top: 4px solid #002244; box-sizing: border-box; }

.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 4px; border: 1px solid #dee2e6; }
table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 0.9em; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid #dee2e6; }
th { background-color: #e9ecef; font-weight: bold; color: #212529; }

.form-control { width: 100%; padding: 10px; border: 1px solid #ced4da; border-radius: 4px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 14px; }
.btn-primary { background: #002244; color: white; border: none; padding: 12px 20px; cursor: pointer; border-radius: 4px; font-weight: bold; font-family: 'Open Sans', sans-serif; }
.btn-danger { background: #dc3545; color: white; text-decoration: none; padding: 6px 10px; border-radius: 4px; font-size: 0.85em; font-weight: bold; display: inline-block; margin-top: 2px; }
.btn-warning { background: #ffc107; color: #212529; text-decoration: none; padding: 6px 10px; border-radius: 4px; font-size: 0.85em; font-weight: bold; display: inline-block; margin-top: 2px; }
.alert { background: #d4edda; color: #155724; padding: 15px; border-radius: 4px; margin-bottom: 20px; border-left: 4px solid #28a745; font-weight: 600; font-size: 14px; }

.flex-form { display: flex; gap: 15px; align-items: flex-end; flex-wrap: wrap; }
.flex-form .input-group { flex: 1 1 200px; display: flex; flex-direction: column; gap: 5px; width: 100%; }
.flex-form .input-group label { font-size: 14px; font-weight: 600; color: #495057; }

@media (max-width: 600px) {
    .navbar { flex-direction: column; text-align: center; }
    .flex-form { flex-direction: column; align-items: stretch; }
    .flex-form .btn-wrapper { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 10px; }
    .flex-form button, .flex-form a { width: 100%; text-align: center; box-sizing: border-box; }
}