/* Reusable "how do you want to export?" chooser dialog (SweetAlert2).
   Shared across product / catalog / cheat-sheet export flows.
   Behaviour lives in wwwroot/js/shared/export-options-dialog.js.
   NOTE: the cancel-button override is scoped to .exp-popup (the dialog's
   customClass) so it does not restyle every Swal cancel button app-wide. */

.exp-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
    text-align: left;
}

/* selection count pill */
.exp-count {
    align-self: center;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    background: #eef2f7;
    color: #495057;
    margin-bottom: 4px;
}

/* one clickable option card */
.exp-opt {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all .15s ease;
    text-align: left;
    width: 100%;
}

.exp-opt:hover {
    border-color: var(--exp-accent);
    background: var(--exp-tint);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}

/* icon disc — inline SVG (icon-font glyphs are unreliable in this EJ2 build) */
.exp-opt .exp-ico {
    flex: 0 0 40px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--exp-accent);
}

.exp-opt .exp-ico svg {
    width: 20px;
    height: 20px;
}

.exp-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.exp-title {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
}

.exp-desc {
    font-size: 12px;
    color: #6c757d;
}

/* per-option accent + hover tint */
.exp-data { --exp-accent: #28a745; --exp-tint: #eafaf0; }
.exp-images { --exp-accent: #17a2b8; --exp-tint: #e6f7fa; }
.exp-both { --exp-accent: #4c6ef5; --exp-tint: #eef1fe; }

/* match the cancel button to the card radius/weight (scoped to this dialog only) */
.exp-popup .swal2-cancel.swal2-styled {
    border-radius: 10px !important;
    padding: 10px 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

/* dark mode */
html[data-theme="dark"] .exp-count { background: #2b3038; color: #c9d1d9; }
html[data-theme="dark"] .exp-opt { background: #1f242b; border-color: #3a414b; }
html[data-theme="dark"] .exp-opt:hover { background: #262c34; }
html[data-theme="dark"] .exp-title { color: #e6edf3; }
html[data-theme="dark"] .exp-desc { color: #9aa4b1; }
