/* style.css */
body {
    font-size: 12px;
}

.header {
    display: flex;
    align-items: center;
    border-bottom: 2px solid black;
    padding: 10px 20px;
}

.header img {
    height: 80px;
    margin-right: 15px;
    margin-left: 10px;
}

.header-content {
    text-align: center;
    flex-grow: 1;
}

.header-content h5 {
    margin: 0;
    font-size: 20px;
}

.header-content h4 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.header-content p {
    margin: 5px 0 0;
    font-size: 12px;
}

.container {
    width: 100%;
    margin: 0 auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    text-align: center;
    vertical-align: middle;
    border: 1px solid black;
    padding: 8px;
}

.nowrap {
    white-space: nowrap;
}

@media print {
    .no-print {
        display: none !important;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
    text-align: center;
    color: #333;
}

.modal-content label {
    display: block;
    margin-top: 12px;
    font-weight: bold;
    font-size: 0.9rem;
}

.modal-content input[type="text"],
.modal-content input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.modal-content button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-content button:hover {
    background-color: #0056b3;
}

.close {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 1.5rem;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.signature-table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

.signature-table td {
    padding: 15px;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 15px;
    }

    .modal-content h3 {
        font-size: 1.2rem;
    }

    .modal-content button {
        padding: 10px;
    }
}
