﻿.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* ArcGIS Map + input form container */
#viewDiv {
    position: relative;
    width: 100%;
    
    height: 68vh;
    border: 2px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f5f5f5; /* Fallback color before map loads */
}
.modalMap {
  width: 65%; /* Default width for larger screens */
}

/* Media query for screens up to a certain width (e.g., 768px, common for tablets/mobiles) */
@media (max-width: 768px) {
  .modalMap {
    width: 100%; /* Make it 100% width on smaller screens */
  }
}

/* You might also consider a more specific mobile breakpoint */
@media (max-width: 480px) { /* Example for very small mobile screens */
  .modalMap {
    width: 100%;
  }
}
/* Input panel floating inside viewDiv */
.input-panel-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    width: 50%;
}

/* Input and Button styling */
.app-textbox {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
}
.app-button:disabled {
    padding: 10px 20px;
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
}
.app-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
}

    .app-button:not(:disabled):hover {
        background-color: #0056b3;
    }

.message-label {
    margin-top: 10px;
    color: green;
    display: block;
}

h3 {
    margin-top: 0;
}
