/* Modal Background */
.location-modal-overlay {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

/* Modal Box */
.location-modal-content {
    background: #252525;
    width: 350px;
    margin: 100px auto;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.location-input-group { display: flex; gap: 10px; }

.location-modal-content input,
.location-modal-content select,
.location-modal-content textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: #333;
    border: 1px solid #444;
    color: white;
    border-radius: 5px;
}

.location-modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.add-btn { background: #444; color: white; border: none; padding: 8px 15px; cursor: pointer; border-radius: 5px; }
.save-btn { background: #ff8c00; flex: 2; border: none; padding: 10px; cursor: pointer; border-radius: 5px; font-weight: bold; }
.cancel-btn { background: #555; flex: 2; border: none; padding: 10px; color: white; cursor: pointer; border-radius: 5px; }

@media (max-width: 768px) {
  .add-btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.1rem;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .add-btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.1rem;
  }
}
