﻿.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-control {
    border: 1px solid #ced4da;
    border-top-left: 1px solid red;
    border-top-right: 1px solid red;
    transition: border-color 0.3s ease;
    /*  padding: 10px;  */
}

    .form-control:focus {
        border-color: #007bff;
        box-shadow: none;
    }

    .form-control:not(:placeholder-shown) {
        border-top: 1px solid #ced4da;
    }

.floating-label {
    position: absolute;
    left: 10px;
    top: 7px;
    transition: all 0.3s ease;
    pointer-events: none;
    color: #999;
    font-size: 14px;
    background-color: white;
    padding: 0 5px;
}

.form-control:focus + .floating-label,
.form-control:not(:placeholder-shown) + .floating-label {
    top: -8px;
    left: 10px;
    font-size: 12px;
    color: #007bff;
    /* //color: #007bff; */
}


/* Fade-in animation */
@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translateY(-20px); /* slight slide from top */
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-dialog-animation_Instraction {
    animation: fadeInModal 0.6s ease-out; /* Adjust time for slower/faster */
}
