
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    color: #1b2c51;
}

#gui-header {
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    border-bottom: 1px solid #ddd;
}

h1 {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #1b2c51;
}

#home-btn {
    text-decoration: none;
    color: #0d6efd;
}

#home-btn::after {
    content: " →";
    margin-left: 2px;
}

#home-btn:hover {
    color: #0a58ca;
}

#gui-body {
    height: calc(100vh - 64px);
    width: 100%;
    overflow: hidden;
    display: flex;
}

#fullMapDiv {
    width: 60%;
    height: 100%;
    display: flex;
}

.esri-view {
  --esri-view-outline-color: transparent;
  --esri-view-outline: none;
}

#panel {
    width: 40%;
    height: 100%;
    padding: 24px;
    border-left: 1px solid #ddd;
}

#panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.action-btn {
    color: #0d6efd;
    border-radius: 16px;
    padding: 6px 12px;
    border: 1px solid #0d6efd;
    background-color: #fff;
    cursor: pointer;
}

.action-btn:hover {
    color: #fff;
    background-color: #094193;
    border-color: #094193;
}

.workflow-step {
    position: relative;
    padding-left: 56px;
    padding-bottom: clamp(24px, 2vw, 48px);
}

.workflow-step:last-child {
    padding-bottom: 0;
}

.workflow-step::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 35px;
    width: 1px;
    height: calc(100% - 38px);
    background: #d9d9d9;
}

.workflow-step:last-child::after {
    display: none;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.step-icon {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1976d2;
    border-radius: 50%;
    background: #fff;
    color: #1976d2;
    font-weight: bold;
}

.step-title {
    font-weight: 600;
    line-height: 32px;
}

.workflow-step.active .step-icon {
    background: #1976d2;
    color: #fff;
}

.step-content {
    display: none;
    margin-top: 16px;
}

.workflow-step.active .step-content {
    display: block;
}

.geometry-buttons {
    display: flex;
    gap: 8px;
}

.geometry-buttons button {
    flex: 1;
}

#request-btn {
    margin-top: 12px;
}

#request-url,
#response-message,
#result-data {
    margin-top: 12px;
    padding: 12px;
    background-color: #f5f7fa;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    overflow-y: auto;
}

#request-url {
    word-break: break-all;
}

#response-message,
#result-data {
    white-space: pre-line;
}

#result-data {
    max-height: 250px;
    overflow-y: auto;
}
.workflow-step.pending .step-icon {
    background: #bdbdbd;
    border-color: #bdbdbd;
    color: #fff;
}

.workflow-step.active .step-icon {
    background: #1976d2;
    border-color: #1976d2;
    color: #fff;
}

.workflow-step.completed .step-icon {
    background: #1976d2;
    border-color: #1976d2;
    color: #fff;
}

.workflow-step.pending .step-title {
    color: #bdbdbd;
    font-weight: 100;
}

.workflow-step.active .step-title {
    color: #1976d2;
}

.workflow-step.completed .step-title {
    color: #000000;
}


.geometry-buttons .action-btn.activeBtn {
    background-color: #094193;
    border-color: #094193;
    color: white;
}