﻿
body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/img2.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(2px); /*  blur level  */
    z-index: -1;
}

h2.page-title {
    /* font-weight: 700;
            margin-bottom: 15px;
            color: #fff; */
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding: 10px;
}

.login-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    overflow: hidden;
/*    height: 500px;*/
}

    .login-card::before {
        content: "";
        display: block;
        height: 8px;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: linear-gradient(90deg, #ff6a00, #ee0979);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }


    .login-card img {
        width: 110px;
        margin-bottom: 15px;
    }

.form-control {
    border-radius: 12px;
    padding: 12px;
}

.input-group-text {
    border-radius: 12px 0 0 12px;
    background: #f1f1f1;
}

.text-danger {
    font-size: 0.85rem;
    height: 20px; 
    display: block; 
    margin-top: 4px;
}

    .text-danger:empty {
        visibility: hidden; 
    }




.btn-login {
    border-radius: 12px;
    font-weight: 600;
    padding: 12px;
    transition: 0.3s ease;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    border: none;
    color: #fff;
    font-size: 1rem;
}

    .btn-login:hover {
        opacity: 0.9;
        transform: scale(1.05);
        color: #fff;
    }


.form-check-label {
    font-size: 0.9rem;
}

.text-danger {
    font-size: 0.8rem;
}

.error-container {
    min-height: 40px; /* enough space for one error line */
    margin-bottom: 10px;
}

    .error-container .alert {
        font-size: 0.9rem;
        padding: 6px 10px;
        border-radius: 8px;
    }





