/* Employee Payment Dashboard Styles */
.emp-payment-container {
    height: 100vh;
    background: #FDF8EE;
    font-family: 'Poppins', sans-serif;
    padding: 15px;
    box-sizing: border-box;
}

.emp-payment-container .EMPleftmenubar {
    height: calc(100vh - 30px);
    margin: 0;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
}

.emp-payment-main {
    padding: 20px;
    margin: 15px;
    margin-left: calc(15% + 30px);
    overflow-y: auto;
    height: calc(100vh - 30px);
    box-sizing: border-box;
}

.emp-payment-header {
    background: transparent;
    padding: 0;
    margin-bottom: 30px;
}

.emp-payment-header h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #6F4F37;
    margin: 0 0 20px 0;
    text-align: left;
}


/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background: #6F4F37;
    padding: 25px;
    border-radius: 12px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 15px rgba(111, 79, 55, 0.2);
}

.card-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.9;
}

.card-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.card-value.paid {
    color: white;
}

.card-value.pending {
    color: white;
}

.card-value.cancelled {
    color: white;
}

.card-value.count {
    color: white;
}

/* Search and Filter Section */
.search-filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.search-container {
    display: flex;
    flex: 1;
    max-width: 500px;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #6F4F37;
    box-shadow: 0 0 0 3px rgba(111, 79, 55, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #6F4F37;
    color: #6F4F37;
}

.filter-btn.active {
    background: #6F4F37;
    color: white;
    border-color: #6F4F37;
}

/* Payment Table */
.payment-table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom scrollbar for table container */
.payment-table-container::-webkit-scrollbar {
    width: 8px;
}

.payment-table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.payment-table-container::-webkit-scrollbar-thumb {
    background: #6F4F37;
    border-radius: 4px;
}

.payment-table-container::-webkit-scrollbar-thumb:hover {
    background: #5a3f2a;
}

.payment-table {
    width: 100%;
    border-collapse: collapse;
}

.payment-table thead {
    background: #6F4F37;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.payment-table th {
    padding: 15px 12px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.payment-table tbody tr:hover {
    background: #f8f9fa;
}

.payment-table td {
    padding: 15px 12px;
    font-size: 0.95rem;
    text-align: center;
}

.payment-id {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    color: #6F4F37;
}

.payment-id i {
    color: #ffc107;
    font-size: 1.1rem;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.paid {
    background: #d4edda;
    color: #155724;
}

.status-badge.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Past Unresolved Orders Warning */
.past-unresolved-warning {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulseWarning 2s infinite;
}

@keyframes pulseWarning {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.past-unresolved-warning i {
    font-size: 1.5rem;
    color: #fff;
}

.past-unresolved-warning .warning-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.past-unresolved-warning .warning-content p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Past Unresolved Row Styling */
.payment-row.past-unresolved {
    background: linear-gradient(135deg, #fff5f5 0%, #ffeaea 100%);
    border-left: 4px solid #ff6b6b;
    animation: subtlePulse 3s infinite;
}

@keyframes subtlePulse {
    0%, 100% { background: linear-gradient(135deg, #fff5f5 0%, #ffeaea 100%); }
    50% { background: linear-gradient(135deg, #fff0f0 0%, #ffe0e0 100%); }
}

.payment-row.past-unresolved:hover {
    background: linear-gradient(135deg, #fff0f0 0%, #ffe0e0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.2);
}

.mark-paid-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.mark-paid-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

.mark-cancelled-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mark-cancelled-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.view-receipt-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-receipt-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.pagination-info {
    color: #666;
    font-size: 0.9rem;
}

.pagination-buttons {
    display: flex;
    gap: 8px;
}

.pagination-btn {
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    border-color: #6F4F37;
    color: #6F4F37;
}

.pagination-btn.active {
    background: #6F4F37;
    color: white;
    border-color: #6F4F37;
}

.pagination-btn.disabled {
    background: #f8f9fa;
    color: #ccc;
    cursor: not-allowed;
    border-color: #e9ecef;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .emp-payment-main {
        margin-left: 0;
        padding: 15px;
    }
    
    .summary-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-filter-section {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .search-container {
        max-width: none;
    }
    
    .filter-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .emp-payment-header h1 {
        font-size: 2rem;
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .payment-table-container {
        overflow-x: auto;
    }
    
    .payment-table {
        min-width: 600px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 5px;
    }
    
    .pagination-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .pagination-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .emp-payment-header h1 {
        font-size: 1.5rem;
    }
    
    .tab-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .summary-card {
        padding: 20px;
    }
    
    .card-value {
        font-size: 1.5rem;
    }
    
    .search-input {
        font-size: 0.9rem;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .payment-table th,
    .payment-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    .mark-paid-btn,
    .view-receipt-btn {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
}

/* Receipt Modal */
.receipt-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.receipt-modal {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: receiptSlideIn 0.3s ease-out;
}

@keyframes receiptSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.receipt-header {
    background: linear-gradient(135deg, #6F4F37 0%, #8B5A3C 100%);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.receipt-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close-receipt-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-receipt-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.receipt-content {
    padding: 25px;
}

.receipt-info {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.receipt-info h3 {
    color: #6F4F37;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.receipt-info p {
    margin: 5px 0;
    color: #666;
    font-size: 0.9rem;
}

.receipt-items {
    margin-bottom: 20px;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.receipt-totals {
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.receipt-total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 1rem;
}

.receipt-total-line.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #6F4F37;
    border-top: 2px solid #6F4F37;
    padding-top: 8px;
    margin-top: 8px;
}

.receipt-customer {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.receipt-customer p {
    margin: 5px 0;
    color: #333;
    font-weight: 500;
}

.receipt-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.receipt-footer p {
    margin: 5px 0;
    color: #666;
    font-style: italic;
}

.receipt-actions {
    display: flex;
    gap: 15px;
    padding: 20px 25px 25px 25px;
    justify-content: center;
}

.print-receipt-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.print-receipt-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.close-receipt-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-receipt-btn:hover {
    background: #545b62;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .emp-payment-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .emp-payment-main {
        margin-left: 0;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .emp-payment-header h1 {
        font-size: 2rem;
    }
    
    .emp-payment-header p {
        font-size: 1rem;
    }
    
    .payment-methods {
        flex-direction: column;
    }
    
    .payment-method-btn {
        min-width: unset;
    }
    
    .payment-actions {
        flex-direction: column;
    }
    
    .receipt-modal {
        margin: 10px;
        max-height: 90vh;
    }
    
    .receipt-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .emp-payment-header {
        padding: 20px;
    }
    
    .emp-payment-header h1 {
        font-size: 1.5rem;
    }
    
    .order-summary-section,
    .customer-info-section,
    .payment-method-section,
    .payment-amount-section {
        padding: 20px;
    }
    
    .transaction-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .transaction-details {
        align-items: flex-start;
    }
}

/* Profile Page Styles */
.emp-payment-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Basic Info and Account Info Sections */
.basic-info-section,
.account-info-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.section-title {
    margin-bottom: 25px;
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6F4F37;
    margin: 0 0 10px 0;
}

.title-line {
    width: 100%;
    height: 2px;
    background: #6F4F37;
    border-radius: 1px;
}

/* Profile Picture Section */
.profile-picture-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.profile-picture {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #6F4F37;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-placeholder {
    font-size: 2.5rem;
    color: #6F4F37;
    opacity: 0.7;
}

.profile-picture-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.upload-btn, .remove-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.upload-btn {
    background: #6F4F37;
    color: white;
}

.upload-btn:hover {
    background: #5a3f2a;
    transform: translateY(-1px);
}

.remove-btn {
    background: transparent;
    color: #dc3545;
    border: 1px solid #dc3545;
}

.remove-btn:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-1px);
}

/* Personal Information Section */
.personal-info-section {
    margin-bottom: 20px;
}

.personal-info-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6F4F37;
    margin: 0 0 15px 0;
}

.section-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.generate-qr-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #6F4F37;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.generate-qr-btn:hover {
    background: #5a3f2a;
    transform: translateY(-1px);
}

/* Profile Information */
.profile-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-field {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-field:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #6F4F37;
    min-width: 150px;
    font-size: 0.95rem;
}

.info-value {
    color: #333;
    font-size: 0.95rem;
    flex: 1;
}

/* Account Info */
.account-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.password-field {
    display: flex;
    align-items: center;
    gap: 15px;
}

.password-dots {
    color: #333;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.change-password-btn {
    background: #6F4F37;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.change-password-btn:hover {
    background: #5a3f2a;
    transform: translateY(-1px);
}

/* Forms */
.profile-form,
.password-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-weight: 600;
    color: #6F4F37;
    font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #6F4F37;
    box-shadow: 0 0 0 3px rgba(111, 79, 55, 0.1);
}

.form-field input.error,
.form-field textarea.error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    font-weight: 500;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 10px;
}

.cancel-btn, .save-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.cancel-btn {
    background: #6c757d;
    color: white;
}

.cancel-btn:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.save-btn {
    background: #6F4F37;
    color: white;
}

.save-btn:hover {
    background: #5a3f2a;
    transform: translateY(-1px);
}

.save-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Password Info */
.password-info {
    background: #e9ecef;
    padding: 15px;
    border-radius: 8px;
    color: #666;
    font-style: italic;
}

/* Account Actions */
.account-actions {
    display: flex;
    gap: 15px;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.logout-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Edit Button */
.edit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #6F4F37;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.edit-btn:hover {
    background: #5a3f2a;
    transform: translateY(-1px);
}

/* Profile Responsive Design */
@media (max-width: 1024px) {
    .profile-picture-container {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-section {
        padding: 20px;
    }
    
    .profile-picture {
        width: 100px;
        height: 100px;
    }
    
    .profile-placeholder {
        font-size: 2.5rem;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-label {
        min-width: auto;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .cancel-btn, .save-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .profile-section {
        padding: 15px;
    }
    
    .profile-picture {
        width: 80px;
        height: 80px;
    }
    
    .profile-placeholder {
        font-size: 2rem;
    }
    
    .upload-btn, .remove-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* Print View Styles */
.OPprint-view {
  display: none;
}

@media print {
  /* Hide everything except print view */
  body * {
    visibility: hidden;
  }
  
  .OPprint-view,
  .OPprint-view * {
    visibility: visible;
  }
  
  .OPprint-view {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    display: block !important;
  }
}

.OPprint-content {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.OPprint-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #6F4F37;
}

.OPprint-header h1 {
  font-size: 24px;
  font-weight: bold;
  color: #6F4F37;
  margin: 0 0 5px 0;
}

.OPprint-header p {
  font-size: 14px;
  color: #8B7355;
  margin: 0;
}

.OPprint-section {
  margin-bottom: 20px;
}

.OPprint-section h2 {
  font-size: 18px;
  font-weight: bold;
  color: #6F4F37;
  margin: 0 0 15px 0;
}

.OPprint-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
}

.OPprint-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.OPprint-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.OPprint-label {
  font-weight: 600;
  color: #6F4F37;
  font-size: 14px;
}

.OPprint-value {
  color: #333;
  font-size: 14px;
}

.OPprint-status {
  background: #d4edda;
  color: #155724;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

/* Print status specific colors */
.OPprint-status.paid {
  background: #d4edda;
  color: #155724;
}

.OPprint-status.pending {
  background: #fff3cd;
  color: #856404;
}

.OPprint-status.cancelled {
  background: #f8d7da;
  color: #721c24;
}

.OPprint-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.OPprint-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.OPprint-item:last-child {
  border-bottom: none;
}

.OPprint-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.OPprint-item-name {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.OPprint-item-details {
  font-size: 12px;
  color: #666;
}

.OPprint-item-total {
  font-weight: 600;
  color: #6F4F37;
  font-size: 14px;
}

.OPprint-total {
  margin: 20px 0;
  padding: 15px 0;
  border-top: 2px solid #6F4F37;
  border-bottom: 2px solid #6F4F37;
}

.OPprint-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.OPprint-total-label {
  font-size: 16px;
  font-weight: bold;
  color: #6F4F37;
}

.OPprint-total-value {
  font-size: 18px;
  font-weight: bold;
  color: #6F4F37;
}

.OPprint-footer {
  text-align: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.OPprint-footer p {
  margin: 5px 0;
  color: #666;
  font-size: 14px;
}
