.rs-wrapper {
    font-size: 16px;

    h1, h2, h3 {
        color: #333;
        margin-bottom: 0.2em;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }
}

.rs-title {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
}
.rs-ms-auto{
    margin-left: auto;
}

.rs-help-text {
    font-size: 0.9em;
    color: #555555;
    margin-bottom: 0.5em;
}

.rs-mb {
    margin-bottom: 1rem;
}

.rs-mt {
    margin-top: 1rem;
}

.rs-settings-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.border {
    border: 1px solid lightgray;
    border-radius: 6px;
}

.rs-form {
    display: grid;
    gap: 1rem;
}

.rs-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
}

.rs-info {
    display: flex;
    /*gap: 1.5rem;*/
    flex-wrap: wrap;
    box-sizing: border-box;
}
.rs-info > div{
    box-sizing: border-box;
    flex: 1 1 auto;
}


.rs-register-description {
    background-color: #f9f9f9;
    border-left: 1px solid transparent;
    padding-left: 0;
    margin-top: 20px;
    font-size: 14px;
    color: #333;
    width: 100%;
    box-sizing: border-box;
}

@media only screen and (min-width: 1290px) {

    .rs-info > div {
        flex: 1 1 calc(1.5rem - 50%);
        box-sizing: border-box;
    }
    .rs-register-description {
        border-left: 1px solid #ddd;
        padding-left: 1.5rem;
    }
    .rs-info > *{
        width: 50%;
    }
    .rs-login-panel{
        padding-right: 1.5rem;
    }
    .rs-register-description{

    }
}

.rs-register-description a.text-link {
    color: #1d72b8;
    text-decoration: underline;
}

.rs-register-description a.text-link:hover {
    color: #155a8a;
}

.rs-settings-section {
    margin-top: 1rem;
    background-color: #fafafa;
    border: 1px solid #ddd;
    padding: 0.5rem 1.5rem 1.5rem;
    border-radius: 6px;
}

.rs-section-title {
}

.rs-settings-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.rs-settings-group {
    display: grid;
    margin-top: 1rem;
    /*display: flex;*/
    /*flex-direction: column;*/
    /*align-items: flex-start;*/
    /*flex: 0 1 auto;*/
}

.rs-wrapper label {
    font-size: 0.95em;
    font-weight: 500;
    margin-bottom: 0.2em;
}

.rs-wrapper input[type="color"] {
    width: 100px;
    height: 2.5rem;
    /*padding: 0.2rem;*/
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.rs-wrapper select,
.rs-wrapper input[type="text"],
.rs-wrapper input[type="email"],
.rs-wrapper input[type="password"],
.rs-wrapper input[type="number"] {
    padding: 0.2rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    max-width: 300px;
}

.rs-wrapper .button {
    padding: .5em 1.5em;
    font-size: 1rem;
    line-height: 1;
}

code {
    display: block;
    background-color: #f9f9f9;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 0.5rem;
    font-family: monospace;
}
