::selection {
    background-color: #ff0000;
    color: #fff;
}

.horizontal-container {
    display: flex;
    align-items: center;
}

.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.elements-right {
    display: flex;
    flex-direction: row-reverse;
}

.dark-background {
    background-color: #000000;
}

.red-background {
    background-color: #ff0000;
}

/* Dark button */
.dark-button {
    padding-bottom: 2px;
    padding-top: 2px;
    padding-left: 22px;
    padding-right: 22px;
    background-color: #FFF; /* White */
    border: 1px solid #000; /* Black */
    transition: background-color 0.8s ease;
}

.dark-button:hover,
.dark-button:focus {
    background-color: #000; /* Black */
    color: #FFF; /* White */
    outline: none;
}



/* Red button */
.red-button {
    background-color: red;
    color: white;
    border: none;
    padding: 7px 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 14px; /* Adjust the value to control the roundness */
}

.red-button:hover {
    background-color: darkred;
}

.strong-red-button {
    font-size: 16px;
    display: inline-block;
    border-radius: 15px;
    padding: 10px 20px;
    background-color: white;
    color: black;
    text-decoration: none;
    transition: background-color 0.5s, color 0.5s;
    border: none;
}

.strong-red-button:hover {
    background-color: red;
    color: white;
}



/* Rounded Cercle */
.rounded-circle-button {
    width: 22px;
    height: 22px;
    border: 1px;
    padding: 3px;
    /*border: 2px solid rgb(56, 56, 56);*/
    border-radius: 50%;
    margin: 0px;
}


/* Override Bootstrap styling for nav-pills container */
.nav-pills {
    background-color: white;
    overflow: hidden;
    border-radius: 0;
}

/* Override Bootstrap styling for nav-link */
.nav-pills .nav-link {
    padding: 10px 20px;
    font-weight: bold !important;
}

/* Override Bootstrap styling for active nav-pills */
.nav-pills .nav-link.active {
    position: relative;
    background-color: rgb(255, 0, 0); /* Red background color for active tab */
    color: white !important; /* Text color for active tab (with !important to override Bootstrap) */
}


.nav-pills .nav-link.active::before {
    width: 100%;
    height: 100%;
    background-color: rgb(255, 0, 0);
}


.nav-pills .nav-link:not(.active):hover {
    color: inherit !important;
}

.button-white {
    background-color: white;
    color: black;
    border: 0px;
    padding: 10px 20px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.button-white:hover {
    background-color: #333;
    color: white;
}

/* Custom error alert */
.error-alert {
    background-color: #ffd0b5;
    border-left: 8px solid #e23f3f;
    color: #eb4242;
    padding: 1rem;
}
.error-alert p {
    color: #ec3b3b;
}
.error-alert p.font-bold {
    font-weight: bold;
}



.rounded-circle-button-wrapper {
    display: inline-block;
    padding: 2px; /* This padding creates the gap */
    border-radius: 50%; /* To maintain the circular shape */
    box-shadow: 0 0 0 1px #000000; /* Outer border effect */
}

.rounded-circle-button-section {
    width: 18px;
    height: 18px;
    padding: 3px;
    border-radius: 50%;
    margin: 0;
    background-color: #00ff00;
}