﻿/* Material Input Style */
.form-control {
    border: none;
    border-bottom: 2px solid #b5b5b5;
    border-radius: 0;
    background-color: transparent;
    font-family: 'Roboto', sans-serif;
    padding: 10px 5px;
    transition: all 0.3s ease;
    box-shadow: none;
}

    /* Focus effect (Material underline animation) */
    .form-control:focus {
        outline: none;
        border-bottom: 2px solid #3f51b5;
        box-shadow: none;
    }

/* Optional: add animated underline */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

    .form-group::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0%;
        height: 2px;
        background-color: #3f51b5;
        transition: width 0.3s ease;
    }

    .form-control:focus + .form-group::after,
    .form-group:focus-within::after {
        width: 100%;
    }

/* Label (floating effect) */
.form-label {
    position: absolute;
    top: 10px;
    left: 5px;
    color: #999;
    font-size: 14px;
    pointer-events: none;
    transition: 0.3s ease all;
}

/* Move label up on focus or input */
.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    top: -10px;
    font-size: 12px;
    color: #3f51b5;
}

/* Card Material Design */
.card-border {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2), 0 4px 10px rgba(0,0,0,0.15);
    padding: 20px;
    transition: all 0.3s ease;
}

    /* Card hover elevation */
    .card-border:hover {
        box-shadow: 0 6px 15px rgba(0,0,0,0.25), 0 10px 25px rgba(0,0,0,0.2);
    }
