/* css/style.css */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border: none;
    border-radius: 10px;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
}

.btn {
    border-radius: 6px;
}

.form-control, .form-select {
    border-radius: 6px;
    padding: 10px 15px;
}

.navbar-brand {
    font-weight: 700;
}

.student-record {
    border-left: 4px solid #0d6efd;
}

.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    opacity: 0.1;
    z-index: -1;
    width: 80%;
}

/* Print styles */
@media print {
    .navbar, .btn, .print-btn, .action-buttons {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
    }
    
    .watermark {
        display: block !important;
    }
    
    body {
        padding: 0;
        margin: 0;
        background: white;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
}

/* QR Code styling */
#qrcode canvas {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    background: white;
}

/* Table styles */
.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: 14px;
    }
    
    .btn-group .btn {
        font-size: 12px;
        padding: 0.25rem 0.5rem;
    }
}