


/* Custom styles for Kendo UI and Payment Voucher */
.k-button-operations {
    @apply px-4 py-2 rounded;
}

    .k-button-operations.new {
        @apply bg-green-600 text-white;
    }

    .k-button-operations.edit {
        @apply bg-blue-600 text-white;
    }

    .k-button-operations.delete {
        @apply bg-red-600 text-white;
    }

    .k-button-operations.confirm {
        @apply bg-purple-600 text-white;
    }

    .k-button-operations.print {
        @apply bg-gray-600 text-white;
    }

/* RTL Support */
[dir="rtl"] .k-grid {
    direction: rtl;
}

/* Voucher specific styles */
.payment-voucher-print {
    @apply bg-white shadow-lg rounded-lg p-8;
}

.voucher-content {
    @apply border border-gray-200 rounded-lg p-6;
}

@media print {
    @page {
        size: A4;
        margin: 1cm;
    }

    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }

    .payment-voucher-print {
        width: 80%;
        max-width: 210mm;
        margin: 0 auto;
        padding: 20mm;
        page-break-after: always;
        background-color: white;
    }

    .text-center {
        text-align: center;
    }

    .mb-2 {
        margin-bottom: 0.5rem;
    }

    .mb-4 {
        margin-bottom: 1rem;
    }

    .mb-6 {
        margin-bottom: 1.5rem;
    }

    .mb-8 {
        margin-bottom: 2rem;
    }

    .mt-8 {
        margin-top: 2rem;
    }

    .p-4 {
        padding: 1rem;
    }

    .p-6 {
        padding: 1.5rem;
    }

    .pt-4 {
        padding-top: 1rem;
    }

    .text-3xl {
        font-size: 1.875rem;
    }

    .text-2xl {
        font-size: 1.5rem;
    }

    .text-lg {
        font-size: 1.125rem;
    }

    .font-bold {
        font-weight: 700;
    }

    .font-semibold {
        font-weight: 600;
    }

    .flex {
        display: flex;
    }

    .justify-between {
        justify-content: space-between;
    }

    .justify-center {
        justify-content: center;
    }

    .items-center {
        align-items: center;
    }

    .gap-4 {
        gap: 1rem;
    }

    .gap-6 {
        gap: 1.5rem;
    }

    .grid {
        display: grid;
    }

    .grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .space-y-4 > * + * {
        margin-top: 1rem;
    }

    .rounded-lg {
        border-radius: 0.5rem;
    }

    .border {
        border: 1px solid #e5e7eb;
    }

    .border-t {
        border-top: 1px solid #e5e7eb;
    }

    .bg-gray-50 {
        background-color: #f9fafb;
    }

    .text-gray-600 {
        color: #4b5563;
    }

    .block {
        display: block;
    }

    .voucher-content {
        border: 1px solid #e5e7eb;
        border-radius: 0.5rem;
        padding: 1.5rem;
        margin-top: 1.25rem;
    }

    /* Print-specific overrides */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}
