/* ═══════════════════════════════════════════════════════════
   Oleng Guest Bookmark Modal
   ═══════════════════════════════════════════════════════════ */
.oleng-guest-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.oleng-guest-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(4px);
}
.oleng-guest-modal__box {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    animation: oleng-modal-in .25s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes oleng-modal-in {
    from { opacity: 0; transform: translateY(20px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.oleng-guest-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color .15s;
}
.oleng-guest-modal__close:hover { color: #0d1f17; }

/* Header */
.oleng-guest-modal__header {
    text-align: center;
    margin-bottom: 20px;
}
.oleng-guest-modal__header svg {
    margin-bottom: 8px;
}
.oleng-guest-modal__header h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0d1f17;
    margin: 0 0 6px;
}
.oleng-guest-modal__header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Tabs */
.oleng-guest-modal__tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 20px;
}
.oleng-guest-modal__tab {
    flex: 1;
    background: none;
    border: none;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all .15s;
}
.oleng-guest-modal__tab.is-active {
    background: #fff;
    color: #0d1f17;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

/* Form fields */
.oleng-guest-modal__field {
    margin-bottom: 14px;
}
.oleng-guest-modal__field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 5px;
}
.oleng-guest-modal__field input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #0d1f17;
    transition: border-color .15s;
    box-sizing: border-box;
    background: #fff;
}
.oleng-guest-modal__field input:focus {
    outline: none;
    border-color: #1B4332;
}
.oleng-guest-modal__field input::placeholder {
    color: #94a3b8;
}

/* Submit button */
.oleng-guest-modal__submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #1B4332, #2D6A4F);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .15s;
    margin-top: 4px;
}
.oleng-guest-modal__submit:hover { opacity: .9; }
.oleng-guest-modal__submit:disabled { opacity: .6; cursor: not-allowed; }

/* Divider */
.oleng-guest-modal__divider {
    display: flex;
    align-items: center;
    margin: 18px 0;
    gap: 12px;
}
.oleng-guest-modal__divider::before,
.oleng-guest-modal__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}
.oleng-guest-modal__divider span {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

/* Google button */
.oleng-guest-modal__google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #0d1f17;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}
.oleng-guest-modal__google:hover {
    border-color: #1B4332;
    background: #f8faf8;
}

/* Message */
.oleng-guest-modal__msg {
    text-align: center;
    font-size: 13px;
    margin-top: 14px;
    min-height: 20px;
    font-weight: 500;
}
.oleng-guest-modal__msg.is-success { color: #166534; }
.oleng-guest-modal__msg.is-error { color: #dc2626; }

/* ── Mobile ── */
@media (max-width: 480px) {
    .oleng-guest-modal__box {
        padding: 28px 20px;
        border-radius: 16px;
    }
}
