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

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

main {
    background-color: #f5f7fa;
    min-height: calc(100vh - 140px);
    padding: 2rem 0;
}

.navbar {
    background: linear-gradient(90deg, #2c3e50 0%, #3a4d68 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #f39c12 !important;
}

.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    border-radius: 0.75rem 0.75rem 0 0;
    font-weight: 600;
}

.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #0056b3 0%, #003f87 100%);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-outline-secondary:hover {
    transform: translateY(-1px);
}

.btn-outline-danger:hover {
    transform: translateY(-1px);
}

.form-control,
.form-select {
    border-radius: 0.5rem;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

.badge-info {
    background-color: #17a2b8;
}

.badge-warning {
    background-color: #ffc107;
    color: #333;
}

table {
    font-size: 0.95rem;
}

table tr {
    transition: background-color 0.2s ease;
}

table tbody tr:hover {
    background-color: #f0f0f0 !important;
}

.dashboard-stat {
    padding: 2rem;
}

.dashboard-stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dashboard-stat p {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.bg-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
}

.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%) !important;
}

.bg-info {
    background: linear-gradient(135deg, #17a2b8 0%, #0c5460 100%) !important;
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    border-top: 2px solid #34495e;
}

.input-group .form-control,
.input-group .form-select,
.input-group .btn {
    border-radius: 0.5rem;
}

.table-responsive {
    border-radius: 0.5rem;
    overflow: hidden;
}

h1 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h5, h6 {
    color: #2c3e50;
    font-weight: 600;
}

.alert {
    border: none;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}
