/* ── Wrapper ── */
.wcl-wrapper {
    margin: 0 auto;
    color: #000000;
}

/* ── Section ── */
.wcl-section        { margin-bottom: 36px; }
.wcl-section-title  { 
    font-size: 1.25em;
    color: var(--fs-color-primary);
    border-bottom: 2px solid #F0ECE9;
    padding-bottom: 8px;
    margin-bottom: 18px;
}

/* ── Grid ── */
.wcl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* repeat(auto-fill, minmax(200px, 1fr)) */
    gap: 14px;
}

/* ── Cards ── */
.wcl-card {
    background: #fff;
    border: 2px solid #F0ECE9;
    border-radius: 14px;
    padding: 8px 16px;
    transition: transform .15s, box-shadow .15s;
}
/* .wcl-card-free:hover { box-shadow: 0 6px 20px rgba(180,50,90,.12); } */
.wcl-card-taken { opacity: .75; background: #fafafa; }

.wcl-card-inner { 
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.wcl-cake-name  { font-weight: 600; font-size: 1em; flex: 1; min-width: 0; }

.wcl-badge        { font-size: .72em; padding: 3px 10px; border-radius: 20px; font-style: normal; white-space: nowrap; }
.wcl-badge.free   { background: var(--fs-color-primary); color: #ffffff; display: none;}
.wcl-badge.taken  { background: #f8d7da; color: #721c24; }

.wcl-taken-by { font-size: .85em; color: var(--fs-color-primary); margin: 0; display: none; }

/* ── All done ── */
.wcl-all-done { background: #d4edda; color: #155724; border-radius: 10px; padding: 20px; text-align: center; font-size: 1.1em; }

/* ── Buttons ── */
.wcl-btn {
    display: block;
    padding: 9px 18px;
    margin: 0px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: .9em;
    font-family: inherit;
    transition: transform .3s, border .3s, background .3s, box-shadow .3s, opacity .3s, color .3s;
    line-height: normal;
}
.wcl-btn-take, .wcl-btn-confirm, .wcl-btn-suggest { 
    background: var(--fs-color-primary);
    color: #fff;
    font-weight: 600; }
.wcl-btn-take:hover, .wcl-btn-confirm:hover, .wcl-btn-suggest:hover { 
    box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .2);
}

/* ── Suggest Section ── */
.wcl-suggest-section { background: #ffffff; }
.wcl-form-card { background: #fff; border-radius: 10px; padding: 20px; border: 1px solid #F0ECE9; }

/* ── Form ── */
.wcl-form-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
/* .wcl-input    { flex: 1; min-width: 160px; padding: 10px 14px; border: 1.5px solid #e0c0cc; border-radius: 8px; font-family: inherit; font-size: .9em; outline: none; transition: border-color .2s; }
.wcl-textarea { width: 100%; box-sizing: border-box; padding: 10px 14px; border: 1.5px solid #e0c0cc; border-radius: 8px; font-family: inherit; font-size: .9em; resize: vertical; outline: none; transition: border-color .2s; }
.wcl-textarea:focus { border-color: #e05580; } */

/* ── Messages ── */
.wcl-msg          { border-radius: 8px; padding: 12px 16px; margin: 12px 0; font-size: .9em; }
.wcl-msg.success  { background: #d4edda; color: #155724; }
.wcl-msg.error    { background: #f8d7da; color: #721c24; }

/* ── Modal ── */
#wcl-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9998;
    animation: wcl-fade-in .2s;
}
.wcl-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #fff;
    border-radius: 18px;
    padding: 36px 32px 28px;
    width: min(480px, 94vw);
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    animation: wcl-slide-up .25s ease;
}
.wcl-modal-inner  { position: relative; }
.wcl-modal-close  { 
    position: absolute;
    top: -32px;
    right: -10px;
    background: none;
    border: none;
    font-size: 1.3em;
    cursor: pointer;
    color: #aaa;
    padding: 0px;
    margin: 0px;
}
.wcl-modal-close:hover { color: #000000; }
.wcl-modal-icon   { font-size: 3em; text-align: center; display: block; margin-bottom: 10px; }
.wcl-modal h3     { text-align: center; margin: 0 0 20px; font-size: 1.15em; color: #3d3d3d; }
.wcl-modal-note   { font-size: .8em; color: #999; margin: -15px 0 20px 0; line-height: 1.5; }

@keyframes wcl-fade-in  { from { opacity: 0 } to { opacity: 1 } }
@keyframes wcl-slide-up { from { opacity: 0; transform: translate(-50%, -44%) } to { opacity: 1; transform: translate(-50%, -50%) } }

/* ── Responsive ── */
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .wcl-title { font-size: 1.5em; }
    .wcl-grid  { grid-template-columns: 1fr; }
    .wcl-modal { padding: 28px 20px 22px; }
}
