/* Import body_settings */
@import "../general_settings/body_settings.css";

.container {
    display: flex;
    height: calc(100% - 79px); /* Adjust height to account for the navbar */
    padding: 5px;
    margin: 10px 5px 5px 5px;
    border: 2px solid var(--color-primary);
    background-color: #7a257a;
}
.container-form {
    border: 1.5px solid #000;
    outline: 7.5px solid #f9f0f1;    
    background-color: #f9f0f1;
    padding: 20px;
    box-shadow: 18px 26px #000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items at the start of the flex container */ 
}

.window-name {
    position: absolute;
    top: 1px;
    transform: translateY(-50%);
    background-color: #f9f0f1; /* Match the background color to the body's background */
    padding: 0 ; /* Add padding to match the desired effect */
    color: #ee3a24;
    font-size: inherit;
    border: 0px solid;
}

.window-name ins:first-of-type {
    color: #000;
    padding: 0;
    margin: 0;
    border-left: 1.5px solid black;
    padding-left: 10px;
}

.window-name ins:nth-of-type(2) {
    color: #000;
    padding: 0;
    margin: 0;
    border-right: 1.5px solid black;
    padding-right: 10px;
}

form {
    color: black;
}

.button-container {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.ubuntu-button {
    color: black;
    background-color: #f9f0f1;
    border: 0px solid;
    cursor:pointer;
    padding: 0px;
    margin-top: 7px;
    font-size: inherit;
}

.ubuntu-button button {
    float: left;
}

.ubuntu-button:hover {
    background-color: #ee3a24;
    color: #f9f0f1;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.container-form ul li {
    padding: 6px 0px 6px 0px;
}

.textbox {
    background-color: #7a257a;
    resize: none;
    color: #f9f0f1;
    border: 0px solid;
    width: 100%;
    font: inherit;
}

textarea {
    width: 100%;
    height: 125px;
}

/* Media Queries for Mobile Responsiveness */
@media screen and (max-width: 600px) {
    .container {
        margin: 5px; /* Adjust margin for smaller screens */
        height: calc(100% - 75px); /* Adjust height to account for the navbar */
    }

    .container-form {
        padding: 10px; /* Adjust padding for smaller screens */
        width: calc(100% - 80px);
    }

}