@import "tailwindcss";

body {
    background-color: #fefce8;
}

button {
    cursor: pointer;
}

.scrollbar-hide {
    scrollbar-width: none;
    /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
    /* Chrome / Safari */
}

/* 2) univerzální edge-fade maska – barva podkladu #FFFDE6  */
.fade-edges {
    position: relative;
}

.fade-edges::before,
.fade-edges::after {
    content: '';
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 3rem;
    height: 100%;
    z-index: 10;
    background-image: linear-gradient(to right, #FFFDE6 0%, transparent 100%);
}

.fade-edges::after {
    right: 0;
    left: auto;
    background-image: linear-gradient(to left, #FFFDE6 0%, transparent 100%);
}

/* ConfirmDialog container */
/* ConfirmDialog wrapper */
.p-confirm-dialog {
    background-color: #ffffff !important;
    border-radius: 10px;
    padding: 2rem !important; /* More padding inside the box */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

/* Header */
.p-confirm-dialog .p-dialog-header {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1f2937;
    border: none;
    padding: 0;
}

/* Content */
.p-confirm-dialog .p-dialog-content {
    color: #4b5563;
    font-size: 1rem;
    padding: 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem; /* space between icon and text */
    margin-bottom: 2rem;
    line-height: 1.6; /* improve readability */
}

/* Icon (warning triangle) */
.p-confirm-dialog .p-confirm-dialog-icon {
    font-size: 1.75rem;
    margin-top: 0.1rem;
    color: #082c14;
}

/* Footer (buttons) */
.p-confirm-dialog .p-dialog-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0;
}

/* Accept (Yes) button */
.p-confirm-dialog .p-confirm-dialog-accept {
    background-color: #082c14;
    border: none;
    color: white;
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    transition: background 0.2s ease-in-out;
}
.p-confirm-dialog .p-confirm-dialog-accept:hover {
    background-color: #082c14;
}

/* Reject (No) button */
.p-confirm-dialog .p-confirm-dialog-reject {
    background: none;
    border: none;
    color: #082c14;
    font-weight: 600;
    padding: 0.5rem 1rem;
}
.p-confirm-dialog .p-confirm-dialog-reject:hover {
    color: #082c14;
    background-color: transparent;
}
