/* ===== WRAPPER ===== */
.strgen-wrapper {
    font-family: Arial;
    background: #e3f2fd;
    padding: 40px 20px;
}

/* ===== CARD ===== */
.strgen-wrapper .container-box {
    width: 100%;
    max-width: 500px;
    margin: auto;
    padding: 30px;
    background: #f2f2f2;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ===== TITLE ===== */
.strgen-wrapper h2 {
    text-align: center;
    margin-bottom: 25px;
}

/* ===== ROW (FIXED ALIGNMENT) ===== */
.strgen-wrapper .row-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* dropdown */
.strgen-wrapper select {
    width: 55%;
    padding: 10px;
}

/* length field */
.strgen-wrapper .length-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* label */
.strgen-wrapper label {
    font-weight: bold;
}

/* small input */
.strgen-wrapper .small-input {
    width: 70px;
    padding: 8px;
}

/* ===== CHECKBOXES ===== */
.strgen-wrapper .check {
    margin-top: 12px;
}

.strgen-wrapper .check input {
    margin-right: 8px;
}

/* ===== BUTTON ===== */
.strgen-wrapper button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background: #2d73c9;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
}

/* ===== SYMBOL ROW ===== */
.strgen-wrapper .symbol-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.strgen-wrapper .symbol-row input[type="text"] {
    flex: 1;
    padding: 8px;
}

/* ===== SECTION SPACING ===== */
.strgen-wrapper label,
.strgen-wrapper .check,
.strgen-wrapper button {
    display: block;
}

/* ===== SPECIAL CHECKBOX STYLE ===== */
.strgen-wrapper .check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

/* checkbox left fix */
.strgen-wrapper .check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* label text */
.strgen-wrapper .check label {
    font-weight: 600;
    margin: 0;
}

/* for inline text (your current structure) */
.strgen-wrapper .check {
    font-weight: 600;
}

/* only special checkbox */
.strgen-wrapper .special-check {
    display: flex;
    justify-content: flex-end;   /* right side */
    align-items: center;
    gap: 8px;
    font-weight: bold;
}
/* grid for alignment */
.strgen-wrapper .rules-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* right side checkbox */
.strgen-wrapper .special-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    margin-top: 5px; /* adjust for perfect alignment */
}

/* result box */
.strgen-wrapper .result-box {
    margin-top: 20px;
}

.strgen-wrapper .result-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

/* output field */
#result {
    flex: 1;
    padding: 10px;
}

/* clear button */
#clearBtn {
    padding: 10px 15px;
    background: #d9534f;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
} 