/* Main Container and Layout */
.receipts-container {
    display: block !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    visibility: visible !important;
}

.content-area {
    display: block !important;
}

/* Page Title Styling */
.page-title {
    margin-bottom: 2rem;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 0.75rem;
}

.page-title h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Table Section */
.table-section {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2.5rem;
    overflow-x: auto;
}

.receipts-table {
    width: 100%;
    border-collapse: collapse;
}

.receipts-table th,
.receipts-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.receipts-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #475569;
    font-size: 0.875rem;
}

.receipts-table tbody tr:hover {
    background-color: #f8fafc;
}

/* Edit Section */
.edit-section {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.edit-header {
    margin-bottom: 1.5rem;
}

.edit-header h3 {
    color: #2c3e50;
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
}

.edit-description {
    color: #64748b;
    margin: 0;
    font-size: 0.875rem;
}

/* Form Cards */
.form-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid #e2e8f0;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    color: #475569;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    background-color: white;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    outline: none;
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

/* Checkbox Styling */
.checkbox-wrapper {
    margin-top: 0.75rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.checkbox-label {
    color: #475569;
    font-size: 0.875rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
}

.btn-preview,
.btn-save {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-preview {
    background-color: #64748b;
    color: white;
}

.btn-save {
    background-color: #4CAF50;
    color: white;
}

.btn-preview:hover,
.btn-save:hover {
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .edit-section {
        padding: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-preview,
    .btn-save {
        width: 100%;
        justify-content: center;
    }
}
.reprint-btn {
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.reprint-btn:hover {
    background-color: #0056b3;
}