
:root {
    --default_red: #ea373f;
    --default_red_focused: #c92f37;
}

.rg-container p {
    line-height: 1.5;
}

.rg-container .error,
.rg-container .success-msg {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
}

.rg-container .error {
    color: red;
}

.rg-container .success-msg {
    color: green;
}

.rg-container .rg-form {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-top: 20px;
}
.rg-container input[type=text] {
    max-width: 250px;
    margin-bottom: 10px
}

.rg-container .rg-green {
    background-color: #33b249;
}

.rg-container .rg-grey {
    background-color: #6c757d;
}

.rg-container .rg-red {
    background-color: var(--default_red);
}


.rg-container .rg-btn,
.rg-container .rg-btn:hover {
    justify-content: center;
    color: #fff;
    border: none;
    border-radius: 5px;
    min-width: 100px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.rg-container .rg-green:focus,
.rg-container .rg-green:hover,
.rg-container .rg-green:active {
    background-color: #268b37;
    border-color: #268b37;
    color: #fff;
}

.rg-container .rg-grey:hover,
.rg-container .rg-grey:active {
    background-color: rgb(93, 93, 93);
    border-color: rgb(93, 93, 93);
    color: #fff;

}

.rg-container .rg-red:hover,
.rg-container .rg-red:active {
    background-color: var(--default_red_focused);
    border-color: var(--default_red_focused);
    color: #fff;
}


.spinner {
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-top: 3px solid white;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}