@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    :root {
        --color-primary: 252 127 4;
    }

    ul,
    ol {
        list-style: revert;
        margin: revert;
        padding: revert;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-poppins);
    -webkit-font-smoothing: antialiased;
}

.ant-descriptions-item {
    @apply !pb-0;
}

.previewContent img {
    @apply max-w-full h-auto;
}

.import-form label {
    @apply !w-full;
}

.subscription-file-uploader > .ant-upload.ant-upload-select,
.add-book-file-uploader > .ant-upload.ant-upload-select {
    @apply !w-full;
}

.upload-type > div:last-child {
    @apply !w-full;
}

.loginBackground {
    background-color: #f8f8ff;
    background-image: url('/images/shattered.png');
}

/* Calendar - hide day that not belongs to current month */
/* .ant-picker-date-panel .ant-picker-cell:not(.ant-picker-cell-in-view) .ant-picker-cell-inner .ant-picker-calendar-date-value, .ant-picker-date-panel .ant-picker-cell:not(.ant-picker-cell-in-view) .ant-picker-cell-inner .ant-picker-calendar-date-content {
    visibility: hidden;
}

.ant-picker-date-panel .ant-picker-cell:not(.ant-picker-cell-in-view) {
    pointer-events: none;
} */

/* Print CSS for Quotation and Invoice */

.bill {
    margin: 15mm;
}

.bill table {
    border-collapse: collapse;
}

.bill tbody tr,
.bill tbody td,
.bill thead tr,
.bill thead th {
    border: 1px solid black !important;
}

@media only screen and (max-width: 576px) {
    .ant-pagination .ant-pagination-options {
        padding-top: 10px;
        display: block;
    }
}

/* End Print CSS for Quotation and Invoice */
