.text-special {
    border: 1px solid white;
    padding: 1px;
    width: 100%;
    color: white;
    min-height: 40px;
    height: 50px;
    margin: 15px 20px 5px 0px;
    border-radius: 5px;
    background: linear-gradient(40deg, #8df5b7b3, #16167aac);
    background-size: 200% 200%;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    animation: rainbow 5s ease infinite;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*     	Progress     */
.progress {
  border-radius: 100px;
  height: 14px;
}

.progress .progress-bar {
  border-radius: 100px;
  width: 0px;
  transition: width 800ms linear;
}

.progress.progress-sm {
  height: 8px;
}

.progress.progress-xsm {
  height: 4px;
}

.progress.progress-lg {
  height: 20px;
  animation: name duration timing-function delay iteration-count direction fill-mode;
}

nav.agence {
    background-color: #3697E1;
    width: 100%;
    border-radius: 7px;
    margin-right: 5px;
}

.currentagence {
    font-size: 1.2rem;
    color: #fff;
    padding: 5px 12px;
    border-radius: 3px;
    font-weight: 600;
    text-align: center;
}

.agchange{
    border: 1px solid #3697E1;
    height: 70px;
    color: white;
    background: linear-gradient(80deg, #36a8ff, #9ed5ff);
    justify-content: center;
    text-align: center;
    align-items: center;
    flex: 1;
}

label{
    font-weight: 600;
    color: #58768c !important;
    line-height: 2.5;
}

.form-color{
    height: 41px !important;
}

.bg-special{
    background: linear-gradient(#e1aa13, white);
}

.bg-special2{
    background: linear-gradient(#6d8af4, white);
}

.bg-orange{
    background-color: #e1aa13;
    color: white;
}
.text-orange{
    color: #e1aa13;
}

.btn.bg-orange:hover{
    background-color: #e1aa13d5;
    color: white;
}

.box-color{
    min-width: 40px;
    min-height: 20px;
}

@keyframes rainbow {
    100% {
        background-position: 100%;
    }
}

@media screen and (max-width: 576px) {
    nav.agence {
        margin-top: 5px;
        margin-bottom: 2px;
        justify-content: center;
    }
}


.animebox-form {
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #192a56 0%, #8f5ee3 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0px;
}

.animated-border-wrapper {
    position: relative;
    border-radius: 24px;
    padding: 3px;
    /* pour voir la bordure animée */
    margin: 0 10px;
    width: 100%;
    max-width: 1000px;
    box-sizing: border-box;
    /* Pour ombre portée douce sous la carte */
    box-shadow: 0 6px 32px 0 rgba(60, 42, 120, 0.17);
}

.animated-border-wrapper:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 0;
    z-index: 0;
    background:
        conic-gradient(#8f5ee3,
            #4897f5,
            #41e9f7,
            #8f5ee3);
    animation: spin 3.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.form-container {
    position: relative;
    z-index: 1;
    border-radius: 19px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Make content above border animation */
    width: 100%;
    box-sizing: border-box;
}

.form-container h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    letter-spacing: 1px;
}


.form-container label {
    display: block;
    margin-bottom: 0.3rem;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
}


.form-btn {
    width: 100%;
    padding: 0.5rem 0;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #8f5ee3 40%, #4897f5 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: 6px;
}

.form-btn:hover {
    background: linear-gradient(90deg, #6d31c4 10%, #4897f5 90%);
    transform: translateY(-2px) scale(1.015);
}

/* Pour la bordure animée seulement visible autour du bloc */
.animated-border-wrapper .form-container {
    background-clip: padding-box;
}

.animated-border-wrapper {
    overflow: hidden;
}

.form-container {
    /* Détache bien l'intérieur du bord animé */
    box-shadow: 0 2px 30px 0 rgba(50, 50, 90, 0.08);
}

.back-transparent {
    background: rgba(255, 255, 255, 0.201);
    backdrop-filter: blur(3px);
    padding: 15px;
    box-sizing: border-box;
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 0.8rem;
    user-select: none;
    margin-bottom: 1.5rem;
}

.checkbox-custom {
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #e2e8f0;
    border: 2px solid #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border 0.2s, background 0.2s;
}

.checkbox-input {
    position: absolute;
    width: 22px;
    height: 22px;
    opacity: 0;
    cursor: pointer;
    margin: 0;
}

.checkbox-input:checked+.checkbox-custom {
    background: #2563eb;
    border-color: #2563eb;
}

.checkbox-custom svg {
    display: none;
}

.checkbox-input:checked+.checkbox-custom svg {
    display: block;
    color: #fff;
}

/* Animation d'apparition/disparition */
.formblock {
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.4, 2, .4, 1), opacity 0.4s;
    max-height: 900px;
    opacity: 1;
}

.formblock.hide {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 480px) {
    .form-container {
        padding: 1.1rem 0.5rem;
    }
}

.selectedarticle{
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    margin-top: 10px;
}


.list-inline {
  padding-left: 0;
  list-style: none;
}

.list-inline-item {
  display: inline-block;
}

.list-inline-item:not(:last-child) {
  margin-right: 0.5rem;
}

.profile-media {
  position: relative;
  padding-bottom: 20px;
  z-index: 9;
}

.profile-media:before {
  content: "";
  border-right: 2px solid #DCDFE8;
  background: #DCDFE8;
  height: 100%;
  width: 1px;
  position: absolute;
  left: 9px;
  top: 0;
  z-index: -1;
}

.profile-dots {
  height: 20px;
  width: 20px;
  min-width: 20px;
  min-height: 20px;
  border: 2px solid;
  border-radius: 3px;
  background: #fff;
}

.media {
  display: flex;
  align-items: flex-start;
}

.media-body{
    width: 100%;
    margin-left: 10px;
    background-color: #beeaff;
    border-radius: 5px;
    padding: 6px 8px 2px 6px;
}

.media-title{
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
}

.media-description{
    font-size: 10px;
    padding: 5px;
    border-radius: 4px;
    background-color: #ffffffb2;
}