/* Base styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: #333;
}

/* Container styles */
.container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Form styles */
form {
    margin-bottom: 2rem;
}

input[type="text"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
}

button {
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    opacity: 0.9;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

th, td {
    padding: 0.75rem 1rem;
    text-align: left;
}

th {
    background-color: #f3f4f6;
    font-weight: 600;
}

td {
    background-color: #ffffff;
}

tr:nth-child(even) td {
    background-color: #f9fafb;
}

/* Link styles */
a {
    color: #3b82f6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Utility classes */
.mb-4 {
    margin-bottom: 1rem;
}

.ml-4 {
    margin-left: 1rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-gray-500 {
    color: #6b7280;
}

.text-green-600 {
    color: #059669;
}

.text-yellow-600 {
    color: #d97706;
}

.text-red-500 {
    color: #ef4444;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    table, tr, td {
        display: block;
    }

    tr {
        margin-bottom: 1rem;
    }

    td {
        border: none;
        position: relative;
        padding-left: 20%;
    }

    td:before {
        content: attr(data-label);
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
    }
}

/* PDF download button */
#downloadPdf {
    margin-top: 1rem;
    background-color: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

#downloadPdf:hover {
    background-color: #059669;
}