.centred-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    margin: 0 auto;
    padding: 20px;
    /* Moves down to the center of page */

    border-radius: 10px;
    background: #f8f8f8;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    /* Centering the form */
    text-align: center;
    
    /* Centering the form */
    margin-top: 6%;
}

footer.dark {
    background: #333;
    color: white;
}

.form-group:nth-child(2) {
    margin-top: 60px;
}

.form-group {
    margin-top: 20px;
}

.mutiselect {
    margin-top: 20px;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
}

h2 {
    margin-top: 20px;
    font-size: small;
}

.btn {
    margin-top: 40px;
}

input {
    margin-top: 10px;
}

.progress-cursor {
    cursor: progress;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #f8f8f8;
    color: black;
    text-align: center;
    padding: 10px;
}
/* Add dark mode to mutiselect*/
/* Check if it's inside centred-form-container which has dark mode enabled */
.centred-form-container.dark .mutiselect {
    background-color: #333;
    color: white;
    border: 1px solid #ccc;
}

.centred-form-container.dark {
    background: #333;
    color: white;
}

.is-invalid {
    transition: background-color 0.3s ease;
    background-color: #be3a3a;
    color: white;
    animation: shake-x 0.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

/* Animation */
@keyframes shake-x {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

@media screen and (max-width: 600px) {
    .centred-form-container {
        width: 90%;
    }
}

/* Sticky Footer Styling (Universal) */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer {
  margin-top: auto; /* This is the key change */
}