/* =========================== */
/* Base Styling                */
/* =========================== */

body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin: 10px;
    color: #000;
}

/* =========================== */
/* Layout                      */
/* =========================== */

.main-columns {
    display: flex;
    flex-direction: column;
}

/* Two logical rows */
.header-row,
.content-row {
    display: flex;
    align-items: flex-start;
}

/* =========================== */
/* Column Positioning          */
/* =========================== */

.col-dws {
    margin-left: 1in;
}

.col-dws-defaults {
    margin-left: 0.5in;
    width: 220px;
}

.col-general {
    margin-left: 1in;
}

.col-general-defaults {
    margin-left: 0.5in;
    width: 220px;
}

/* =========================== */
/* Column Content              */
/* =========================== */

.controls-column {
    flex: 0 0 auto;
}

.defaults-column {
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px 16px;
}

/* =========================== */
/* Header Elements             */
/* =========================== */

.logo {
    width: 170px;
}

.sensor-image {
    width: 95px;
    margin-top: 6px;
}

#sensor-image-link {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}

#sensor-image-link:hover {
    opacity: 0.8;
}

.title {
    font-size: 18px;
    margin: 6px 0;
}

/* =========================== */
/* Typography & Lists          */
/* =========================== */

.section-title {
    font-size: 15px;
    font-weight: bold;
    margin: 10px 0 6px;
}

.defaults-list {
    padding-left: 18px;
    font-size: 13px;
}

/* =========================== */
/* Controls                    */
/* =========================== */

.row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.inline-label {
    white-space: nowrap;
}

.input-medium {
    width: 150px;
}

/* =========================== */
/* Buttons                     */
/* =========================== */

button {
    font-size: 14px;
    cursor: pointer;
}

.help-button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.generate-button {
    margin-top: 10px;
}

.nav-header {
    margin-top: 20px;
}

/* =========================== */
/* Modal Dialog Styles         */
/* =========================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-box {
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    width: 340px;
    max-width: 90%;
    text-align: left;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-box button {
    padding: 6px 16px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 14px;
}
