/* Custom CSS for Survey System */
:root {
    --primary-color: #4e73df;
    --secondary-color: #6c757d;
    --success-color: #1cc88a;
    --danger-color: #e74a3b;
    --warning-color: #f6c23e;
    --info-color: #36b9cc;
    --light-color: #f8f9fc;
    --dark-color: #5a5c69;
}

body {
    background-color: #f8f9fc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3f9d 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand, .nav-link {
    color: white !important;
    font-weight: 500;
}

.nav-link:hover {
    color: rgba(255,255,255,0.8) !important;
}

.container {
    flex: 1;
    max-width: 1200px;
}

.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    margin-bottom: 1.5rem;
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3f9d 100%);
    color: white;
    border-radius: 0.5rem 0.5rem 0 0 !important;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3f9d 100%);
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3a5cdf 0%, #1a2f8d 100%);
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #495057 100%);
    border: none;
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #0f9d58 100%);
    border: none;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, #c23b2b 100%);
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #ddaa1f 100%);
    border: none;
    color: #000;
}

.btn-info {
    background: linear-gradient(135deg, var(--info-color) 0%, #2599ac 100%);
    border: none;
}

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

.table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3f9d 100%);
    color: white;
    border: none;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(78, 115, 223, 0.05);
}

.alert {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
}

.form-control, .form-select {
    border-radius: 0.375rem;
    border: 1px solid #d1d3e2;
    padding: 0.75rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.badge {
    font-weight: 500;
    padding: 0.5em 0.8em;
}

/* Login page specific styles */
/* .login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
} */

.login-card {
    width: 100%;
    max-width: 400px;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #3a3b45 100%);
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
}

/* Animation */
.btn, .card, .alert {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .btn-group .btn {
        margin-bottom: 0.5rem;
    }
}