/*
Screens
Laptop:
- 1470 x 956 - settings
- 1470 x 919 - browser full screen
- 1470 x 795 - browser regular

*/


/**** TERMS ********************************************************/

.solver-terms-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.solver-terms-button {
    cursor: pointer;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    font-size: 120%;
    color: white;
}

.solver-terms-button:hover {
    border: 2px solid #aaa;
}

.solver-terms-error {
    padding-top: 5rem;
    width: 100vh;
    margin: 0 auto;
    text-align: center;
}

.solver-terms-error-message {
    color: red;
    font-size: 150%;
    font-weight: bold;
    width: 100%;
}

.solver-terms-error-reload {
    padding-top: 2rem;
    color:blue;
    width: 100%;
    cursor: pointer;
}

.solver-terms-error-reload:hover {
    text-decoration: underline;
}


/**** PROCESSING ********************************************************/

#solver-processing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99999;
}

#solver-processing-icon {
    color: white;
    text-align: center;
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/**** MODAL ********************************************************/

#solver-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

#solver-modal {
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    max-height: 80%;
    height: fit-content;
    z-index: 9999;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: scroll;
}

#solver-modal-header {
    position: sticky;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

#solver-modal-header-title {
    font-size: 1.75rem;
    font-weight: bold;
    padding-left: 0.5rem;
}

#solver-modal-header-close {
    cursor: pointer;
    text-align: center;
    padding: 0.5rem;
    margin-left: 0.5rem;
    border: 1px solid white;
    border-radius: 0.25rem;
}

#solver-modal-header-close:hover {
    border: 1px solid #ccc;
}

#solver-modal-body {
    padding: 1rem;
}


