/**
 * WizV2 Wishlist Create — CSS
 * Centered modal for creating a new wishlist.
 */

/* ================================================================
   Body scroll lock
   ================================================================ */
body.wiz-wl-create-body-locked {
    overflow: hidden;
}

/* ================================================================
   Root overlay
   ================================================================ */
.wiz-wl-create {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.wiz-wl-create--open {
    display: flex;
}

/* ================================================================
   Backdrop
   ================================================================ */
.wiz-wl-create__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* ================================================================
   Content box
   ================================================================ */
.wiz-wl-create__content {
    position: relative;
    z-index: 1;
    width: 400px;
    max-width: 90vw;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

/* ================================================================
   Header
   ================================================================ */
.wiz-wl-create__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #222;
    padding: 12px 16px;
    border-bottom: 1px solid #eaeaea;
}

.wiz-wl-create__close {
    background: none;
    border: none;
    font-size: 26px;
    color: #888;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.wiz-wl-create__close:hover {
    color: #333;
}

/* ================================================================
   Body
   ================================================================ */
.wiz-wl-create__body {
    padding: 20px 16px;
}

.wiz-wl-create__input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wiz-wl-create__input:focus {
    outline: none;
    border-color: #075465;
    box-shadow: 0 0 0 1px #075465;
}

/* ================================================================
   Footer
   ================================================================ */
.wiz-wl-create__footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid #eaeaea;
}

.wiz-wl-create__cancel-btn,
.wiz-wl-create__save-btn {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.wiz-wl-create__cancel-btn {
    background: white;
    color: var(--primary, #075465);
    border-color: var(--primary, #075465);
}

.wiz-wl-create__cancel-btn:hover {
    background: #f5f5f5;
}

.wiz-wl-create__save-btn {
    background: var(--primary, #075465);
    color: #fff;
}

.wiz-wl-create__save-btn:hover:not(:disabled) {
    opacity: 0.9;
}

.wiz-wl-create__save-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ================================================================
   Mobile
   ================================================================ */
@media (max-width: 767px) {
    .wiz-wl-create__content {
        width: 90vw;
    }
}
