/* =========================== */
/* Global Compact Styling      */
/* =========================== */

body {
    font-family: Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.25;
    margin: 10px;
    margin-left: 192px;
    color: #000;
}

/* =========================== */
/* Header Area                 */
/* =========================== */

header {
    text-align: left;
    margin-bottom: 10px;
}

.logo {
    width: 170px;
    height: auto;
}

.title {
    font-size: 18px;
    margin: 4px 0;
}

/* =========================== */
/* Section Titles              */
/* =========================== */

.section-title {
    font-size: 15px;
    font-weight: bold;
    margin: 10px 0 4px 0;
}

/* =========================== */
/* Section Layout              */
/* =========================== */

.section {
    margin-bottom: 28px;
}

.two-column-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.controls-column {
    flex: 0 0 auto;
}

.defaults-column {
    flex: 0 0 auto;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px 16px;
    margin-top: 4px;
    margin-left: 96px;
}

.defaults-list {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.6;
}

.defaults-list li {
    margin-bottom: 2px;
}

.row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}

.column {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.inline-label {
    white-space: nowrap;
    font-size: 14px;
}

/* =========================== */
/* Form Controls               */
/* =========================== */

select,
input[type="number"] {
    font-size: 14px;
}

.input-small {
    width: 80px;
    height: 22px;
}

.input-medium {
    width: 150px;
    height: 22px;
}

/* =========================== */
/* Buttons                     */
/* =========================== */

.generate-button {
    width: 170px;
    height: 30px;
    margin-top: 10px;
    font-size: 15px;
    cursor: pointer;
}

.action-button {
    margin-top: 5px;
    margin-right: 5px;
    padding: 4px 8px;
    font-size: 14px;
    cursor: pointer;
}



/* =========================== */
/* Hex Display                 */
/* =========================== */

.inline-title {
    margin: 0;
    font-size: 15px;
}

.hex-display {
    font-family: monospace;
    font-size: 20px;
    font-weight: bold;
}

/* =========================== */
/* Modal Dialog                */
/* =========================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-box button {
    padding: 6px 16px;
    font-size: 14px;
    cursor: pointer;
}


/* =========================== */
/* Back Navigation             */
/* =========================== */

.nav-header {
    margin-top: 32px;     /* space ABOVE Back to Home */
    margin-bottom: 12px;  /* optional space below */
}




