html, body {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
}

.create-container {
    width: 100vw;
    height: 100vh; /* Always at least viewport height */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: linear-gradient(45deg, #ffffff, #000000, #ffffff); 
}

.form-row {
    display: flex;
    gap: 3rem; /* space between fields */
    margin-bottom: 1.1rem !important;
}

.form-row > div {
    flex: 1; /* each field takes equal width */
    min-width: 0;
}

ul {
    list-style: none;
}

.create-container .form-section {
    min-height: 100%;
    width: 100%;
    text-align: center;
}

.form-section {
    margin-bottom: 0.1rem;
}

.create-container .gender-radio-group {
    display: flex;
    gap: 3rem !important;
    margin-top: 0.5rem;
    justify-content: center;
}

.create-container .gender-radio {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;   
}

.create-container .gender-radio input[type="radio"] {
    width: 1rem;
    height: 1rem;
    accent-color: #376cff;
    transform: scale(1.5);
    margin-right: 0.5rem;
    
}

.create-container .container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin: 1.5rem auto;
    width: 1800px;
}

.create-container .section-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    list-style: none;
}

.create-container .section-right {
    flex: 1.5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    list-style: none;
}

.create-container .announce-cardo {
    background: url('../images/kako.png') no-repeat center center;
    background-size: cover;
    padding: 0.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgb(255, 255, 255);
    min-width: 400px;
    max-width: 700px !important;
    width: 100%;
    margin-bottom: 0;
    border: 1px solid #fff4e3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 200px;
    color: #fff4e3;
    margin-top: 1rem;
    height: 775px;
    background-size: 110% 110%; /* or use 'contain' if you want the whole image visible */
    
     
   
    /* Animation settings */

}

/* Animate background position diagonally */
@keyframes bg-move {
    0% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 100% 0%;
    }
}

.create-container .announce-card p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-top: 0;
    text-align: center;
    font-family: 'orbitron', sans-serif;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
}

.create-container .announce-card h1 {
    font-size: 2.1rem;
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    font-family: 'orbitron', sans-serif;
    font-weight: bold;
    color: #000000;
    text-shadow: 5px 3px 5px #376cff;
}

.create-container .announce-card h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #fff4e3;
    font-family: 'orbitron', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
}

.create-container .card {
    background: #ffffff;
    padding: 0.4rem;
    border-radius: 10px;
    box-shadow: 0 0 30px #376cff;
    min-width: 400px;
    max-width: 1400px !important;
    width: 100%;
    margin-bottom: 0;
    border: 2px solid #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 850px;
    color: #000000;
    margin-top: 1rem;
    
    list-style: none;
}

.create-container .card h2 {
    margin-top: 0;
    margin-bottom: 0.2rem;
    color: #000000;
    font-family: 'orbitron', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
}

.create-container form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    width: 100%;
    list-style: none;
}

.create-container .form-control {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #030303;
    border-radius: 10px;
    width: 70%;
}

.create-container form input {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    width: 60%;
    border: 1px solid #0a0a41;
    font-family: 'orbitron', sans-serif;
    font-weight: bold;
}

.create-container label {
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 0.8rem !important;
    font-family: 'orbitron', sans-serif;
    list-style: none;
}

.create-container input {
    font-family: 'orbitron', sans-serif;
    font-weight: bold;
    border: 1px solid #fff4e3;
    font-size: 1rem;
    border: 1px solid #0a0a41;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.create-container #submit {
    margin-top: 2rem;
    padding: 0.8rem;
    background: linear-gradient(90deg, #000000, #fff4e3, #000000);
    color: #000000;
    border: 1px solid #000000;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: 24%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    font-family: 'orbitron', sans-serif;
    animation: all 0.3s ease;
    margin-bottom: 0;
}

.create-container #submit:hover {
    background: linear-gradient(90deg, #376cff, #fff4e3, #376cff);
    color: #000000;
    transform: scale(1.03);
    border: 1px solid #000000;
}


.create-container .btn {
    padding: 0.7rem  !important;
    margin-top: 0;
    margin-bottom: 0 !important;
    background: linear-gradient(90deg, #000000, #fff4e3, #000000);
    color: #000000;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: auto;
    font-size: 0.8rem;
    font-family: 'orbitron', sans-serif;
    animation: all 0.3s ease;
    border: 1px solid #000000;
    display: block;
    margin-left: auto;
    margin-right: 8rem;
}


.create-container .btn:hover {
    background: linear-gradient(90deg, #376cff, #fff4e3, #376cff);
    color: #000000;
    transform: scale(1.03);
    border: 1px solid #000000;
}

.create-container .create-btn {
    padding: 0.7rem 1.7rem;
    margin-top: 0;
    margin-bottom: 0;
    background: linear-gradient(90deg, #000000, #fff4e3, #000000);
    color: #000000;
    border: 1px solid #fff4e3;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: auto;
    align-self: flex-start;
    position: absolute;
    left: 4.4rem;
    bottom: 2.6rem;
    font-size: 0.8rem;
    font-family: 'orbitron', sans-serif;
    animation: all 0.3s ease;
}

.create-container .create-btn:hover {
    background: linear-gradient(90deg, #376cff, #fff4e3, #376cff);
    color: #000000;
    transform: scale(1.03);
}

.passi-btn {
    padding: 0.7rem 1.7rem;
    margin-top: 0;
    margin-bottom: 0;
    background: linear-gradient(90deg, #000000, #fff4e3, #000000);
    color: #000000;
    border: 1px solid #fff4e3;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: auto;
    align-self: flex-start;
    
    font-size: 0.8rem;
    font-family: 'orbitron', sans-serif;
    animation: all 0.3s ease;
}

.passi-btn:hover {
    background: linear-gradient(90deg, #376cff, #fff4e3, #376cff);
    color: #000000;
    transform: scale(1.03);
}


.create-container a {
    text-decoration: none;
    color: inherit;
}

.create-container h2 {
    font-family: 'Georgia', serif;
    font-weight: bold;
    color: #333;
    text-align: center;
}

#forfait-0  {
    margin-top: 0;
}

#forfait-1 {
    margin-top: 0;
}

.create-container .announce-card h3 {
    font-family: orbitron, sans-serif;
    font-weight: bold;
    color: #000000;
    text-shadow: 5px 3px 5px #376cff;
    text-align: center;
    margin-top: 0.7rem;
   
    font-size: 1.8rem;

}

.create-container .form-section h3 {
    font-family: orbitron, sans-serif;
    font-weight: bold;
    color: #000000;
    text-align: center;
    margin-top: 0.7rem;
    
    font-size: 1.6rem;
}

.create-container #ouh {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 12rem;
    box-shadow: 0 2px 15px rgb(255, 255, 255);
    width: 800px;
    height: 800px;
}

/* Hide the default radio button */
.create-container input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: 2px solid #376cff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    position: relative;
    margin-right: 8px;
    vertical-align: middle;
    cursor: pointer;
    outline: none;
    transition: border 0.2s;
}

/* Custom dot when checked */
.create-container input[type="radio"]:checked::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: #376cff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
}



.create-container .gender-radio-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 0;
}

.create-container .gender-radio-row label {
    margin-bottom: 0;
    margin-right: 0.5rem;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.create-container .forfait-radio-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 0;
}

.create-container .forfait-radio-row label {
    margin-bottom: 0;
    margin-right: 0.5rem;
    font-weight: bold;
    font-size: 1rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gender-radio-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.forfait-radio-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.gender-label {
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 0;
    color: #000;
    font-family: 'Orbitron', sans-serif;
}

.create-container .forfait-label {
    font-weight: bold;
    font-size: 1.1rem !important;
    text-align: center;
    margin-bottom: 0;
    color: #000;
    font-family: 'Orbitron', sans-serif;
}

.gender-radio-options {
    display: flex;
    gap: 3.5rem !important;
    justify-content: center;
    margin-top: -1rem;
}

.forfait-radio-options {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: -1rem;
}

.gender-radio-options label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.8rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.forfait-radio-options label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.5rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pub-foot {
    margin-top: 3rem;
    padding: 1rem 0;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    color: #fff4e3;
    box-shadow: none;
}

.pub-foot p {
    box-shadow: none;
}

.create-container form input[type="email"],
.create-container form input[type="text"],
.create-container form input[type="password"] {
    padding: 0.5rem;
    margin-top: 1.1rem;
    border-radius: 10px;
    width: 60%;
    border: 1px solid #0a0a41;
    font-family: 'orbitron', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    background: #fff;
    color: #000;
}

 #password_confirm {
    margin-top: 1.1rem;
}

.create-container form input[type="date"] {
    margin-top: 1.1rem;
}

.form-section-row {
    display: flex;
    gap: 0.5rem; /* space between columns */
    flex-wrap: wrap; /* allows wrapping on small screens */
    
}

.form-section .form-row {
    margin-top: 1.1rem;
    margin-bottom: 2.1rem !important;
}

.gender-radio-row {
    flex: 1 1 0;
    min-width: 200px;
}

.forfait-radio-row {
    flex: 1 1 0;
    min-width: 400px !important;
    height: 90px;
    margin-bottom: 1rem;
}

/* Only for checkboxes in your form section */
.form-section input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #376cff;
    margin-right: 10px;
    vertical-align: middle;
    margin-top: 1rem;
    margin-bottom: 0;
}

.create-container .button-style {
    background: linear-gradient(45deg, #000000, #376cff, #000000);
    color: #000000;
    border: 1px solid #fff4e3;
    border-radius: 6px;
    padding: 0.7rem 1.5rem;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1.9rem;
    margin-bottom: 1.9rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
    transition: 0.3s ease;
}

.create-container .button-style:hover {
    background: linear-gradient(45deg,  #376cff, #000000, #376cff);
    transform: scale(1.2);
    color: #ffffff;
}

.create-container .open-details-btn button-style {
    font-size: 1.2rem;
}

.create-container .forfait-coquin {
    margin-top: 3rem;

}

.create-container .forfait-univers {
    margin-top: 3rem;

}

.create-container .forfait-guilde {
   margin-bottom: 3rem;
}

