.gma-panel {
    margin: 10px 0 16px;
    padding: 12px 14px;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    background: #fafafa;
    font-size: 14px;
}

.gma-panel .gma-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.gma-panel .gma-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gma-panel .gma-actions button {
    cursor: pointer;
}

.gma-panel .gma-status {
    margin-top: 8px;
    min-height: 1.2em;
    color: #555;
    font-size: 13px;
}

/* Modal */
.gma-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
}

.gma-modal.open {
    display: block;
}

.gma-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.gma-modal-dialog {
    position: relative;
    margin: 4vh auto;
    width: min(900px, 92vw);
    max-height: 92vh;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gma-modal-header,
.gma-modal-footer {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.gma-modal-footer {
    border-bottom: none;
    border-top: 1px solid #eee;
    justify-content: flex-end;
}

.gma-modal-header h3 {
    margin: 0;
    font-size: 16px;
}

.gma-modal-close {
    background: transparent;
    border: 0;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.gma-modal-body {
    padding: 12px 16px;
    overflow: auto;
}

.gma-modal-body .gma-search {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.gma-modal-body .gma-map {
    width: 100%;
    height: 60vh;
    min-height: 360px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

/* Google Places Autocomplete dropdown — push above the modal layer */
.pac-container {
    z-index: 10100 !important;
}
