/* Zavier theme-owned stylesheet; visual tokens are finalized by css/theme.css. */
/* Source: app/Modules/GuestBook/Views/lokasi.php */

.guest-location-page {
    --guest-blue: #1f5fae;
    --guest-blue-dark: #16477f;
    --guest-blue-soft: #eaf2fb;
    --guest-border: #d8e3ef;
    --guest-text: #172b43;
    --guest-muted: #64748b;
    min-height: 100vh;
    padding: 104px 20px 76px;
    color: var(--guest-text);
    background: #f4f7fa
}

.guest-location-shell {
    width: 100%;
    max-width: 720px;
    margin: 0 auto
}

.guest-location-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--guest-border);
    border-radius: 10px
}

.guest-location-back,.guest-location-heading-icon,.guest-location-card-heading>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: var(--guest-blue);
    background: var(--guest-blue-soft);
    border-radius: 10px
}

.guest-location-back {
    color: var(--guest-blue-dark);
    border: 1px solid #c8dbef;
    text-decoration: none
}

.guest-location-back:hover,.guest-location-back:focus {
    color: #fff;
    background: var(--guest-blue);
    border-color: var(--guest-blue)
}

.guest-location-header svg,.guest-location-card-heading svg {
    width: 21px;
    height: 21px
}

.guest-location-header h1 {
    margin: 0;
    color: var(--guest-text);
    font-size: clamp(1.3rem,2.3vw,1.7rem);
    font-weight: 700;
    line-height: 1.25
}

.guest-location-header p {
    margin: 3px 0 0;
    color: var(--guest-muted);
    font-size: .86rem;
    line-height: 1.45
}

.guest-location-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--guest-border);
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(22,71,127,.04)
}

.guest-location-card-heading {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #e6edf5
}

.guest-location-card-heading h2 {
    margin: 0;
    color: var(--guest-text);
    font-size: 1rem;
    font-weight: 700
}

.guest-location-card-heading p {
    margin: 3px 0 0;
    color: var(--guest-muted);
    font-size: .78rem;
    line-height: 1.4
}

.guest-location-card form {
    padding: 20px
}

.guest-location-field {
    margin-bottom: 18px
}

.guest-location-field label {
    display: block;
    margin-bottom: 7px;
    color: #263f59;
    font-size: .83rem;
    font-weight: 700
}

.guest-location-field small {
    display: block;
    margin-top: 6px;
    color: var(--guest-muted);
    font-size: .73rem
}

.guest-location-code-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px
}

.guest-location-field input {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    color: var(--guest-text);
    background: #fff;
    border: 1px solid #b9cadb;
    border-radius: 10px;
    outline: 0;
    font-size: .9rem
}

.guest-location-field input:focus {
    border-color: var(--guest-blue);
    box-shadow: 0 0 0 3px rgba(31,95,174,.12)
}

.guest-location-code-row button,.guest-location-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 46px;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: .83rem;
    font-weight: 700
}

.guest-location-code-row button {
    color: #fff;
    background: var(--guest-blue);
    border: 1px solid var(--guest-blue)
}

.guest-location-code-row button:disabled {
    cursor: wait;
    opacity: .7
}

.guest-location-code-row button svg,.guest-location-actions svg {
    width: 17px;
    height: 17px
}

.guest-location-result {
    padding: 16px;
    background: #f7f9fc;
    border: 1px solid #e0e8f1;
    border-radius: 10px
}

.guest-location-result.is-verified {
    background: #f0f7ff;
    border-color: #a9c8e8
}

.guest-location-result .guest-location-field:last-child {
    margin-bottom: 0
}

.guest-location-readonly {
    position: relative
}

.guest-location-readonly>svg {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 17px;
    height: 17px;
    color: #7890a8;
    transform: translateY(-50%);
    pointer-events: none
}

.guest-location-readonly input {
    padding-left: 40px;
    color: #445a70;
    background: #edf2f7
}

.guest-location-actions {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    margin-top: 20px
}

.guest-location-reset {
    color: var(--guest-blue-dark);
    background: #fff;
    border: 1px solid #9bbbdc
}

.guest-location-submit {
    color: #fff;
    background: var(--guest-blue);
    border: 1px solid var(--guest-blue)
}

.guest-location-reset:hover,.guest-location-reset:focus {
    background: var(--guest-blue-soft)
}

.guest-location-submit:hover,.guest-location-submit:focus,.guest-location-code-row button:hover,.guest-location-code-row button:focus {
    background: var(--guest-blue-dark);
    border-color: var(--guest-blue-dark)
}

.guest-location-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: guest-location-spin .7s linear infinite
}

@keyframes guest-location-spin {
    to {
        transform: rotate(360deg)
    }
}

@media(max-width:768px) {
    .guest-location-page {
        padding: 76px 12px calc(92px + env(safe-area-inset-bottom))
    }
    .guest-location-header {
        gap: 10px;
        margin: 0 0 12px;
        padding: 16px;
        border: 1px solid #e8eef4;
        border-radius: 10px;
    }
    .guest-location-heading-icon {
        display: none
    }
    .guest-location-header p {
        font-size: .75rem
    }
    .guest-location-card {
        margin: 0 0 12px;
        border: 1px solid #e8eef4;
        border-radius: 10px;
        box-shadow: none;
    }
    .guest-location-card-heading,.guest-location-card form {
        padding: 15px 14px
    }
    .guest-location-code-row {
        grid-template-columns: 1fr
    }
    .guest-location-code-row button {
        width: 100%
    }
}
