.rsg-container {
    /*max-width: 900px;*/
    margin: 30px auto;
    /* border: 1px solid #d1d5db; */
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    display: flex;
    background: #020f66;
}

.rsg-output-area {
    flex: 2;
    padding: 25px;
    /* background: #ffffff; */
    min-height: 350px;
    /* border-right: 1px solid #e5e7eb; */
}

.rsg-font-size-controls {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rsg-font-size-controls label {
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    white-space: nowrap;
}

.rsg-font-size-controls select {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
}

.rsg-font-size-controls select:focus {
    outline: none;
    border-color: #1e90ff;
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.2);
}

.rsg-options-panel {
    flex: 1;
    background: #020d55;
    color: #ffffff;
    padding: 25px;
}

.rsg-options-panel label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rsg-options-panel input[type="range"],
.rsg-options-panel input[type="number"],
.rsg-options-panel input[type="text"],
.rsg-options-panel select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    background: #f9fafb;
    color: #1e40af;
}

.rsg-options-panel select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231e40af' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}

.rsg-length-display {
    font-size: 14px;
    color: #bfdbfe;
    margin-bottom: 5px;
    font-weight: 500;
}

.rsg-generated-strings {
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-bottom: 25px;
    font-size: 16px;
    color: #1e40af;
    line-height: 1.6;
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    min-height: 100px;
}

.rsg-buttons {
    background: #1e40af;
    padding: 15px 25px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.rsg-buttons button {
    background: #1e90ff;
    color: #ffffff;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 500;
}

.rsg-buttons .rsg-icon-btn {
    background: #1e90ff;
    /* border: 2px solid #fff; */
    color: #fff;
    padding: 10px 13px;
    width: 61px;
    border-radius: 6px;
    vertical-align: top;

}

.rsg-stats {
    font-size: 12px;
    color: #bfdbfe;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

.rsg-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #10b981;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
    display: none;
    z-index: 1000;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .rsg-container {
        flex-direction: column;
        max-width: 100%;
        margin: 15px;
    }
    .rsg-output-area, .rsg-options-panel {
        flex: none;
        width: 100%;
    }
    .rsg-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    .rsg-buttons button, .rsg-buttons .rsg-icon-btn {
        margin: 5px;
        width: auto;
    }
    .rsg-notification {
        right: 10px;
        bottom: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
    .rsg-font-size-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}