* {
    font-family: 'Poppins', sans-serif;
}

html {
    color: #7d8885 !important;
}

input, textarea, select {
    border: 1px solid #DCDCE0 !important;
    border-radius: 5px !important;
    text-indent: 5px !important;
    max-width: 100%;
    background-color: #f9f9f9 !important;
}

textarea {
    min-height: 175px !important;
}

.hover-underline:hover {
    cursor: pointer;
    text-decoration: underline;
}

#main-wrapper:has(.sidenav) main {
    padding: 5px 10px 10px 10px;
}

@media screen and (min-width: 993px) {
    #main-wrapper:has(.sidenav) main {
        margin-left: 300px;
    }
}

.card-block .card-title {
    text-align: center;
}

.card-block .material-icons {
    font-size: 125px;
    width: 100%;
}

.card-block img {
    width: 100%;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
    min-height: 250px;
}

.card-container a {
    flex: 1 1 calc(25% - 16px);
    max-width: calc(25% - 16px);
    text-decoration: none;
    color: inherit;
    display: flex;
}

/* Zorg dat de card binnen de <a> zich uitrekt */
.card {
    width: 100%;
    justify-content: center;
    min-height: 200px;
}

/* Responsive aanpassingen */
@media (max-width: 1498px) {
    .card-container a {
        flex: 1 1 calc(33.33% - 16px);
        max-width: calc(33.33% - 16px);
    }
}

@media (max-width: 998px) {
    .card-container a {
        flex: 1 1 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }
}

@media (max-width: 768px) {
    .card-container a {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/*.card-container .card img {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*}*/

#loginCard {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-color: #254559;
    color: white;
    width: 25%;
    max-width: 600px;
}

#loginCard .logo img {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

@media screen and (min-width: 1200px) and (max-width: 1500px) {
    #loginCard {
        width: 35%;
        max-width: 800px;
    }
}

@media screen and (max-width: 1199px) and (min-width: 800px) {
    #loginCard {
        width: 50%;
    }
}

@media screen and (max-width: 799px) and (min-width: 500px) {
    #loginCard {
        width: 80%;
    }
}

@media screen and (max-width: 499px) {
    #loginCard {
        width: 100%;
    }

    #loginCard .card .card-content {
        padding: 20px 30px;
    }
}

.thumbnail-img {
    max-width: 300px;
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.file-field input.file-path {
    width: 99%;
}

#form-preview .input-field-preview {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
    background: #f8f8f8;
    padding: 10px;
    border-radius: 6px;
    position: relative;
}

#form-preview .input-field-preview .move-handle {
    cursor: move;
    display: flex;
    align-items: center;
    margin-right: 5px;
}

#form-preview .input-field-preview input,
#form-preview .input-field-preview textarea {
    flex: 1;
    margin: 0;
}

#form-preview .input-field-preview .delete-button {
    margin-left: auto;
}

#form-preview .input-field-preview .file-field {
    flex: 1;
}

#form-preview .file-field .btn {
    padding: 0 10px;
    height: 32px;
    line-height: 32px;
}

#form-preview .file-path-wrapper input.file-path {
    height: 32px;
    line-height: 32px;
    margin: 0;
}

.btn-icon-text {
    position: relative;
    top: -5px;
}

@media screen and (min-width: 900px) {
    .modal-footer {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media screen and (max-width: 900px) {
    .modal {
        top: 0 !important;
        height: 100% !important;
        max-height: 100% !important;
        width: 100% !important;
    }

    .modal-content {
        padding: 12px;
    }
}