﻿.has-float-label {
    display: block;
    position: relative
}

    .has-float-label label, .has-float-label > span {
        position: absolute;
        cursor: text;
        font-size: 75%;
        opacity: 1;
        -webkit-transition: all .2s;
        transition: all .2s;
        top: -.5em;
        left: .75rem;
        z-index: 3;
        line-height: 1;
        padding: 0 1px
    }
    .has-float-label .form-control:focus {
        outline: none !important;
        box-shadow: none !important;
        border-color: inherit !important;
    }
        .has-float-label .form-control:focus + span,
        .has-float-label .form-control:not(:placeholder-shown) + span,
        .has-float-label .form-control:-webkit-autofill + span,
        .has-float-label .form-control:-internal-autofill-selected + span {
            font-size: var(--label-active-size) !important;
            color: var(--label-active-color) !important;
            top: -0.5em !important;
        }
        }
.form-control:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: inherit !important;
}
.has-float-label > span,
.has-float-label label {
    font-size: var(--label-default-size);
    color: var(--label-default-color) !important;
    transition: all .2s;
}
.has-float-label .form-control:placeholder-shown:not(:focus) + span {
    opacity: 1 !important;
    color: #000 !important;
}

        .has-float-label label::after, .has-float-label > span::after {
            content: " ";
            display: block;
            position: absolute;
            background: #fff;
            height: 2px;
            top: 50%;
            left: -.2em;
            right: -.2em;
            z-index: -1
        }

    .has-float-label .form-control::-webkit-input-placeholder {
        opacity: 1;
        -webkit-transition: all .2s;
        transition: all .2s
    }

    .has-float-label .form-control::-moz-placeholder {
        opacity: 1;
        transition: all .2s
    }

    .has-float-label .form-control:-ms-input-placeholder {
        opacity: 1;
        transition: all .2s
    }

    .has-float-label .form-control::placeholder {
        opacity: 1;
        -webkit-transition: all .2s;
        transition: all .2s
    }

    .has-float-label .form-control:placeholder-shown:not(:focus)::-webkit-input-placeholder {
        opacity: 0
    }

    .has-float-label .form-control:placeholder-shown:not(:focus)::-moz-placeholder {
        opacity: 0
    }

    .has-float-label .form-control:placeholder-shown:not(:focus):-ms-input-placeholder {
        opacity: 0
    }

    .has-float-label .form-control:placeholder-shown:not(:focus)::placeholder {
        opacity: 0
    }

    .has-float-label .form-control:placeholder-shown:not(:focus) + * {
        font-size: 150%;
     /*   opacity: .5;*/
        top: .3em
    }

.input-group .has-float-label {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    margin-bottom: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center
}

    .input-group .has-float-label .form-control {
        width: 100%;
        border-radius: .25rem
    }

    .input-group .has-float-label:not(:last-child), .input-group .has-float-label:not(:last-child) .form-control {
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
        border-right: 0
    }

    .input-group .has-float-label:not(:first-child), .input-group .has-float-label:not(:first-child) .form-control {
        border-bottom-left-radius: 0;
        border-top-left-radius: 0
    }
   
.has-float-label .form-control:not(:placeholder-shown) + span {
  top: -0.5em !important;
  font-size: 75% !important;
  opacity: 1 !important;
}


.has-float-label .form-control:-webkit-autofill + span { 
  top: -0.5em !important;
  font-size: 75% !important;
  opacity: 1 !important;
}

.has-float-label .form-control:-internal-autofill-selected + span {
  top: -0.5em !important;
  font-size: 75% !important;
  opacity: 1 !important;
}
/* Varsayılan ve aktif değerler */
.has-float-label > span,
.has-float-label label {
    font-size: 18px !important; /* Varsayılan boyut */
    color: #000000 !important; /* Varsayılan renk */
    top: .3em; /* Varsayılan konum */
    transition: all .2s ease;
}

/* Placeholder gösteriliyorsa da varsayılan kalsın */
.has-float-label .form-control:placeholder-shown:not(:focus) + span {
    font-size: 18px !important;
    color: #000000 !important;
    top: .3em !important;
}

/* Odak, değer girilmiş veya autofill olduğunda aktif stili uygula */
.has-float-label .form-control:focus + span,
.has-float-label .form-control:not(:placeholder-shown) + span,
.has-float-label .form-control:-webkit-autofill + span,
.has-float-label .form-control:-internal-autofill-selected + span {
    font-size: 12px !important; /* Aktif boyut */
    color: #B9B9B9 !important; /* Aktif renk */
    top: -0.5em !important; /* Aktif konum */
}
#CaptchaCode::placeholder {
    color: #000 !important;
    opacity: 1 !important;
    font-size: 18px !important;
    font-family: 'Alexandria', sans-serif !important;
}