@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
    box-sizing: border-box;
}

body {
    /* font-family: "Open Sans", sans-serif !important; */
    font-family: "Inter", sans-serif !important;
    display: flex;
    text-align: center !important;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
    background-color: #f4f4f9;
}

h3 {
    font-weight: 700 !important;
}

li {
    margin: 20px 0;
}

.btn-success {
    background-color: #297d50 !important;
    border-color: #297d50 !important;
}

.container {
    max-width: 680px !important;
    background: white;
    padding: 25px;
    border-radius: 8px;
    background: #f1f7e9;
    color: #333333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-control {
    border-radius: 0.5rem !important;
}

    .form-control:focus {
        border-color: #80bdff00 !important;
        box-shadow: 0 0 0 .2rem #297d50 !important;
    }

#myForm .form-control {
    color: #000 !important;
    font-weight: 500;
    border: 1px solid #828282;
}

.form-control.reg-input {
    border: 2px solid #297d50;
    width: 58px;
    height: 68px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
}

    .form-control.reg-input:first-of-type {
        border-left: 8px solid #297d50;
    }

label {
    font-size: 14px;
    font-weight: 500;
    color: rgb(0, 0, 0);
}

.form-group {
    margin: 0 20px;
}

.material-col {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    padding: 10px;
    border: 1px solid lightgrey;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

    .material-col:hover {
        border: 1px solid #0463a200;
        background-color: #d7e6c0;
        color: #297d50;
    }

    .material-col.selected {
        border-color: #297d50;
        background-color: #d7e6c0;
    }

        .material-col.selected .form-check-input {
            background-color: #ffffff !important; /* Gör checkboxen vit */
            border-color: #ff5733 !important; /* Matcha med bakgrundsfärgen */
        }

.checkbox-img {
    width: 100%;
    border-radius: 4px;
}

.checkbox-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .checkbox-text > h5 {
        font-size: 18px;
        margin: 0;
        font-weight: 700;
    }

    .checkbox-text > p {
        font-size: 12px;
    }

.checkbox-input {
    display: flex;
    justify-content: end;
    align-items: center;
}

    .checkbox-input > input {
        height: 20px;
        width: 20px;
        cursor: pointer;
        /* border: 2px solid #0464a2; */
    }
