/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e8f0fe 0%, #f8f9fa 60%, #e3f2fd 100%);
    background-attachment: fixed;
    color: #333;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.navbar-brand img {
    height: 40px;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

/* Button Styles */
.btn {
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 6px;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
}

.form-control:focus, .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Table Styles */
.table {
    border-radius: 10px;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
}

/* Dashboard Styles */
.dashboard-card {
    text-align: center;
    padding: 20px;
}

.dashboard-card i {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 15px;
}

.dashboard-card h3 {
    font-weight: 600;
    margin-bottom: 5px;
}

.dashboard-card p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Custom styles for Technical Report System */

.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-header {
    background-color: #f0f7fa;
    border-bottom: 1px solid #d1e7f0;
}

.signature-pad {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.signature-pad canvas {
    background-color: #fff;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .card {
        border: 1px solid #000;
        box-shadow: none;
        break-inside: avoid;
    }
    
    .card-header {
        background-color: #f0f0f0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    body {
        font-size: 12pt;
    }
    
    h2, h3, h4, h5 {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

/* Dashboard styles */
.dashboard-card {
    transition: transform 0.3s ease;
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #0d6efd;
}

/* Form styles */
.form-label {
    font-weight: 500;
}

.required:after {
    content: " *";
    color: red;
}

/* Table styles */
.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.1);
}

/* Custom button styles */
.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon i {
    margin-right: 5px;
}