.input-div {
    position: relative;

    overflow: hidden;
    width: 100%;
}



.input {
    position: relative;
    background: transparent;
    color: var(--title-color);
    border-bottom: 2px solid;
    z-index: 110;
    font-size: 20px;
    margin-top: 3rem;
    width: 100%;
    padding-block: 10px;
}

.input-underlin {
    position: absolute;
    width: 0%;
    height: 5px;
    background: var(--first-color);
    left: 50%;
    bottom: 0;
    border-radius: 10px;
    transition: .3s ease-in;
}

.input:valid~.input-underlin,
.input:focus~.input-underlin {
    width: 100%;
    left: 0;
}

.input:valid,
.input:focus {
    border-bottom: 0px solid;
}

.label {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 10px;
    font-size: 20px;
    z-index: -110;
    color: var(--title-color);
    transition: .3s ease-in;
}

.input:valid~.label,
.input:focus~.label {
    bottom: 45px;
    color: var(--first-color);
    font-size: 15px;
}

.input-light {
    position: absolute;
    width: 0%;
    height: 60px;
    background: var(--first-color);
    right: 0;
    bottom: 0;
}

.input:focus~.input-light {
    animation: .5s input-light ease;
}

@keyframes input-light {

    from {
        background-color: var(--first-color);
    }

    to {
        width: 100%;
        background: transparent;
    }

}

.input-file-div {
    display: flex;
    background: var(--container-color);
    margin-top: 5rem;
    padding: 0;
    border-radius: 50rem;
    width: 100%;
    align-items: center;
    overflow: hidden;
}

/* Hide the default file input */
.input-file {
    display: none;
}

.custom-button {
    font-size: 20px;
    font-weight: bold;
    padding: 1rem 3rem;
    background: var(--first-color);
    border-radius: 50rem;
    color: var(--title-color);
    width: fit-content;
    border: 0;
    margin-left: 2rem;
    cursor: pointer;
}

.custom-dropdown {
    position: relative;
    display: inline-block;

    width: 100%;
}

.dropdown-input {
    width: 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.dropdown-list {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 100000;
    width: 100%;
    overflow: auto;
    max-height: 200px;
}

.dropdown-list div {
    padding: 10px;
    cursor: pointer;
}

.dropdown-list div:hover {
    background-color: #f0f0f0;
}

.form-div {
    display: grid;
    width: 90%;
    margin: auto;
    gap: 80px;
}

.toggle-password {
    position: absolute;
    font-size: 25px;
    color: var(--title-color);
    left: 0;
    bottom: 1px;
    cursor: pointer;
    z-index: 9999999999999999;
}

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

.loginhome__container2 {
    width: 70%;
}

@media screen and (min-width: 1150px) {
    .form-div {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 80px;
    }
}

@media screen and (max-width: 800px) {
    .input-file-div {
        display: block;
        text-align: center;
        border-radius: 0;
    }

    .custom-button {
        border-radius: 0;
        width: 100%;
        margin-bottom: 1rem;
    }

    .labelForFileInput {
        margin-bottom: 1rem;
    }
}

input {
    background: transparent;
}

.in-value {
    color: var(--title-color);
    font-size: 35px;
}

.in-label {
    font-size: 18px;
    color: var(--text-color);
}

.in-underlin {
    position: absolute;
    background: var(--first-color);
    width: 100%;
    height: 5px;
    bottom: 0;
    left: 0;
}

.in-div {
    position: relative;
}
option{
    color: black;
    background-color: white;
}
/* الرسالة تظهر فوق الحقل */

  