/* Frontend */
.wl-button-wrap {
    margin: 10px 0;
}

.wl-button {
    display: inline-block;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    line-height: 1.3;
}

.wl-button:hover {
    opacity: .9;
}

.wl-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.wl-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

.wl-modal-dialog {
    position: relative;
    z-index: 2;
    width: var(--wl-width, 420px);
    max-width: calc(100% - 30px);
    margin: 8vh auto 0;
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 15px 50px rgba(0,0,0,.25);
}

.wl-modal-close {
    position: absolute;
    right: 10px;
    top: 8px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.wl-modal-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 30px 20px 0;
}

.wl-field {
    display: block;
    margin-bottom: 15px;
}

.wl-field > span {
    display: block;
    margin-bottom: 5px;
}

.wl-field input,
.wl-field select {
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.wl-policy {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 15px 0;
    font-size: 13px;
}

.wl-submit {
    width: 100%;
    border: 0;
    border-radius: 4px;
    padding: 10px 14px;
    cursor: pointer;
    background: #ff1493;
    color: #fff;
}

.wl-error {
    color: #d00;
    margin: 10px 0;
}

.wl-success-text {
    margin-bottom: 15px;
}

.wl-account-link {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    background: #ff1493;
    color: #fff;
    text-decoration: none;
}

body.wl-modal-open {
    overflow: hidden;
}

/* Account */
.wl-account-page {
    max-width: 950px;
}

.wl-account-list {
    background: #fff;
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0 4px 25px rgba(0,0,0,.07);
}

.wl-account-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.wl-account-item:last-child {
    border-bottom: 0;
}

.wl-account-image {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wl-account-image img {
    max-width: 70px;
    max-height: 70px;
}

.wl-account-info {
    flex: 1;
}

.wl-account-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.wl-account-meta {
    color: #888;
    font-size: 13px;
    margin-top: 3px;
}

.wl-status {
    display: inline-block;
    margin-top: 7px;
    padding: 4px 8px;
    border-radius: 12px;
    background: #f1f3f5;
    font-size: 12px;
}

.wl-account-close {
    border: 0;
    background: #ff1493;
    color: #fff;
    border-radius: 3px;
    padding: 8px 14px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .wl-account-item {
        align-items: flex-start;
    }

    .wl-account-actions {
        margin-left: auto;
    }

    .wl-account-close {
        padding: 7px 10px;
    }
}
