/* toast */
.mescro-toast { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px 16px 16px; background: #ffffff; color: #050505; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 1px 8px rgba(0, 0, 0, 0.04); border: 1px solid rgba(0, 0, 0, 0.06); overflow: hidden; font-family: inherit; font-size: 14px; line-height: 1.4; pointer-events: auto; opacity: 0; transform: translateY(20px) scale(0.98); transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); box-sizing: border-box; }
.mescro-toast.show { opacity: 1; transform: translateY(0) scale(1); }
.mescro-toast.hide { opacity: 0; transform: translateY(10px) scale(0.95); transition: all 0.2s ease-in; }
.mescro-toast::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 5px; }

.mescro-toast-success::before { background: #31a24c; }
.mescro-toast-error::before { background: #fa383e; }
.mescro-toast-warning::before { background: #e4a11b; }
.mescro-toast-info::before { background: #1877f2; }

.mescro-toast-icon { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; }
.mescro-toast-content { flex-grow: 1; display: flex; flex-direction: column; padding-right: 12px; }
.mescro-toast-title { font-weight: 600; color: var(--primary-text); font-size: 15px; margin-bottom: 3px; }
.mescro-toast-message { color: var(--primary-text); font-size: 14px; word-break: break-word; }
.mescro-toast-close { position: absolute; top: 12px; right: 14px; background: none; border: none; padding: 0; color: #bcc0c4; cursor: pointer; font-size: 18px; line-height: 1; transition: color 0.15s ease; }
.mescro-toast-close:hover { color: #050505; }

.mescro-toast-success .mescro-toast-icon { color: #31a24c; }
.mescro-toast-error .mescro-toast-icon { color: #fa383e; }
.mescro-toast-warning .mescro-toast-icon { color: #e4a11b; }
.mescro-toast-info .mescro-toast-icon { color: #1877f2; }

@media (max-width: 600px) {
    #mescroToastContainer { top: 16px; bottom: auto; right: 16px; left: 16px; max-width: 100%; width: auto; }
    .mescro-toast { transform: translateY(-20px) scale(0.98); }
    .mescro-toast.show { transform: translateY(0) scale(1); }
    .mescro-toast.hide { transform: translateY(-10px) scale(0.95); }
}



/* action_modal */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.65); display: none; align-items: center; justify-content: center; z-index: 10000; }
.modal-content-box { background: white; width: 90%; max-width: 400px; padding: 20px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); text-align: left; box-sizing: border-box; }

@keyframes modalPop {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.modal-content-box h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; color: #000; }
.modal-content-box p { color: var(--primary-text); font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
.modal-buttons { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 24px; }
.btn-confirm-del { background: #f4212e; color: white; border: none; padding: 10px 24px; border-radius: 25px; font-weight: 700; font-size: 14px; cursor: pointer; order: 2; transition: opacity 0.2s; }
.btn-confirm-del:hover { opacity: 0.9; }
.btn-cancel-del { background: transparent; color: #0f1419; border: none; padding: 10px 15px; border-radius: 25px; font-weight: 600; font-size: 14px; cursor: pointer; order: 1; transition: background 0.2s; }
.btn-cancel-del:hover { background: var(--button-background); text-decoration: none; }



/* lightbox */
.image-lightbox-modal { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background-color: rgb(0 0 0 / 85%); align-items: center; justify-content: center; padding: 0; box-sizing: border-box; overflow: hidden; }
.image-lightbox-modal.active { display: flex; }
.image-lightbox-toolbar { position: absolute; top: 15px; right: 20px; display: flex; align-items: center; gap: 10px; z-index: 10000; }
.image-lightbox-btn { background: rgba(255, 255, 255, 0.15); border: none; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: #ffffff; cursor: pointer; transition: background 0.15s ease, transform 0.1s ease; }
.image-lightbox-btn:hover { background: rgba(255, 255, 255, 0.3); }
.image-lightbox-btn svg { width: 26px; height: 26px; fill: currentColor; stroke: currentColor; stroke-width: 0; }
.image-lightbox-close:hover { background: #ff4500; }
.image-lightbox-viewport { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 0; box-sizing: border-box; pointer-events: none; }
.image-lightbox-content { max-width: 100%; max-height: 100vh; object-fit: contain; cursor: grab; pointer-events: auto; }
.image-lightbox-content:active { cursor: grabbing; }


/* report_modal */
.report-radio-option { display: flex; align-items: center; gap: 4px; font-size: 15px; color: #1c1e21; font-weight: 500; cursor: pointer; padding: 8px 8px; border-radius: 6px; transition: background 0.15s ease; }
.report-radio-option:hover { background: #e4e6eb; }
.report-textarea { width: 100%; padding: 10px 12px; font-family: inherit; font-size: 14px; color: #050505; background: #ffffff; border: 1px solid #ccd0d5; border-radius: 8px; resize: vertical; min-height: 80px; box-sizing: border-box; outline: none; }
.report-textarea::placeholder { color: #8a8d91; }
.report-scroll-body::-webkit-scrollbar { width: 6px; }
.report-scroll-body::-webkit-scrollbar-thumb { background: #ccd0d5; border-radius: 3px; }
.report-modal-box { animation: ModalFadeIn 0.2s cubic-bezier(0.1, 0.9, 0.2, 1) forwards; }

@media (max-width: 600px) {
    #reportModal.modal-overlay { align-items: flex-end !important; padding: 0 !important; }
    .report-modal-box { width: 100% !important; max-width: 100% !important; max-height: 85vh !important; border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; border-top-left-radius: 16px; border-top-right-radius: 16px; animation: SheetSlideUp 0.25s cubic-bezier(0.1, 0.9, 0.2, 1) forwards; }
}

@keyframes ModalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes SheetSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.report-radio-option { display: flex; align-items: center; gap: 4px; font-size: 15px; color: #1c1e21; font-weight: 500; cursor: pointer; padding: 8px 8px; border-radius: 6px; transition: background 0.15s ease;}
.report-radio-option:hover { background: #e4e6eb; }
.report-textarea { width: 100%; padding: 10px 12px; font-family: inherit; font-size: 14px; color: #050505; background: #ffffff; border: 1px solid #ccd0d5; border-radius: 8px; resize: vertical; min-height: 80px; box-sizing: border-box; outline: none; }
.report-textarea::placeholder { color: #8a8d91; }
.report-scroll-body::-webkit-scrollbar { width: 6px; }
.report-scroll-body::-webkit-scrollbar-thumb { background: #ccd0d5; border-radius: 3px; }


