.site-primary-header-wrap {
    max-width: 100%;
}

.site-content {
    align-self: center;
    max-width: 100%;
    width: 100%;
}

.ast-container {
    max-width: 100%;
    width: 100%;
    padding: 0px;
}

.left-sidebar {
    width: 9%;
    min-width: 160px;
    position: relative;
}

.right-sidebar {
    width: 9%;
    min-width: 160px;
    position: relative;
}

.site-main {
    width: 82%;
    padding-left: 30px;
    padding-right: 30px;
}

.entry-header {
    width: 100%;
    margin: 0px !important;
    text-align: center;
}

h1 {
    font-size: 34px !important;
    margin-bottom: 0px !important;
}

h2 {
    font-size: 22px !important;
    margin-bottom: 0px !important;
}

h3 {
    margin-bottom: 0px !important;
}

.entry-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.custom-breadcrumb {
    font-size: 15px;
    line-height: 1;
    margin-bottom: 5px !important;
}

.simulator-container {
    position: relative;
    padding: 50px 0px 100px 0px;
}

.simulator-form-background {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background-color: #f8f9fa;
    z-index: -1;
}

.simulator-form-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 75vh;
    padding: 10px;
    background-color: white;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.simulator-output-container {
    height: 100%;
    overflow-y: auto;
    padding: 10px 10px 20px 10px;
}

.simulator-message {
   width: 100%;
   margin-bottom: 5px;
}

.simulator-message-text {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    line-height: 1.5;
    max-width: 70%;
    white-space: pre-wrap;
    text-align: left; /* otherwise, the text in the user-generated message will be aligned to the right */
}

.simulator-message.opening-message {
    text-align: center;
    height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simulator-message.opening-message .simulator-message-text {
    max-width: 100%;
    background-color: rgb(13, 29, 173);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.simulator-message.system-generated {
    text-align: left;
}

.simulator-message.system-generated .simulator-message-text {
    background-color: rgb(40, 40, 40);
}

.simulator-message.user-generated {
    text-align: right;
}

.simulator-message.user-generated .simulator-message-text {
    background-color: rgb(13, 29, 173);
}

.simulator-input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid gray;
    border-radius: 10px;
    padding: 8px;
    background-color: rgb(255, 255, 255);
}

.simulator-input-container:hover, .simulator-input-container:focus {
    border: 1px solid black;
}

.simulator-input-container textarea {
    resize: none;
    font-size: 18px;
    width: 100%;
    height: fit-content;
    color: black;
    background-color: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    padding: 0px 10px;
    overflow: hidden;
}

.simulator-input-container textarea:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.simulator-submit-button, .simulator-submit-button:focus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 26px;
    background-color: rgb(13, 29, 173);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    padding: 0px;
    border-radius: 50%;
}

.simulator-submit-button:hover {
    background-color: #1d4ed8;
}

.simulator-submit-button:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
}

.simulator-disclaimer {
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-style: italic;
    color: rgb(80, 80, 80);
    margin-top: 25px;
    line-height: 1.5;
}

.simulator-creator-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 50px;
}

.simulator-creator-wrapper {
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    max-width: 100%;
    width: 768px;
    padding: 20px;
    line-height: 1.6;
    font-size: 18px;
}

.simulator-creator-wrapper a {
    margin-top: 5px;
}

.content-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 20px;
}

.content-wrapper {
    border: 1px solid rgb(235, 235, 235);
    border-radius: 20px;
    max-width: 768px;
}

.entry-content {
    width: 100%;
    padding: 20px 40px 20px 40px;
}

.comment-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgb(235, 235, 235);
}

.other-content-container {
    width: 100%;
    padding: 20px 40px 20px 40px;
}

.other-simulators {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.other-simulators h2 {
    font-size: 15px;
    width: 100%;
}

.other-simulator {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid lightgray;
    border-radius: 5px;
    width: calc((100% / 6) - (10px * 5 / 6));
    padding: 10px;
    text-align: center;
}

.other-simulator h3 {
    font-size: 18px;
}

.other-simulator .post-excerpt p {
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 0px;
}

.other-simulators-see-all {
    width: 100%;
    font-weight: bold;
    line-height: 1;
    font-size: 16px;
}

.bookmark-notice {
    display: none;
    background-color: lightyellow;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
    font-style: italic;
    font-weight: bold;
    color: red;
}

.spinner {
    display: block;
    width: 18px;
    height: 18px;
    border: 3px solid rgb(150, 150, 150);
    border-radius: 50%;
    border-top: 3px solid white;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 1024px) {
    .simulator-form-wrapper {
        flex-wrap: wrap;
    }

    .simulator-form-wrapper > div {
        width: 100%;
    }

    .simulator-form-wrapper > div:first-child {
        border-bottom: 1px solid gray;
        border-right: none;
    }

    .other-simulator {
        width: 100%;
    }

    .left-sidebar, .right-sidebar {
        display: none;
    }

    .site-main {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}