input {
    text-transform: uppercase;
}

body,
p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
}

.input-group-text {
    text-align: right !important;
}

.result-grid {
    display: grid;
    gap: 10px;
    justify-content: right;
}

.result-cell {
    border: 1px solid #eaeaea;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: center;
}

.result-cell-none {
    border: none;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: center;
}

.separator {
    border-top: 2px solid #bcbcbc;
    margin: 20px 0;
    position: relative;
}

.separator-icon {
    color: #959595;
    position: absolute;
    left: -15px;
    top: -15px;
    background-color: white;
    padding: 0 5px;
    font-size: 1.5rem;
    /* Adjust this value to change the icon size */
}

.loading {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cryptarithm::placeholder {
    opacity: 0.2;
}

#add-row {
    cursor: pointer;
}