﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
body {
    /*background: linear-gradient( to bottom, #38e0b2 0%, #39a0ef 25%, #39a0ef 75%, #6a44d0 100% );*/
    min-height: 100vh;
    height: 100vh;
      font-family: "Roboto", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: relative;
    overflow: hidden; font-size:14px;
}
.loginbg{ background-image: url("../images/background-1.jpg"); background-repeat: no-repeat; background-position: center; background-size:cover; background-color: #205fce;}
.form-control{font-size:14px;}
/* Particle animation */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: moveParticles 10s linear infinite;
    z-index:0;
}

@keyframes moveParticles {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* Industrial pattern overlay */
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/batthern.png');
    opacity: 0.15;
    pointer-events: none;
}

/* Card Container with header */
.login-container {
    background-color: #ffffff;
    border-radius: 15px;
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    animation: slideIn 1s ease;
    z-index:9;
}

/* Slide-in animation for card */
@keyframes slideIn {
    from {
        transform: translateX(-30%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Left info box styling */
.info-box {
    background: #0040d6;
background: linear-gradient(175deg, rgba(0, 64, 214, 1) 0%, rgba(0, 179, 128, 1) 100%);
    color: white;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 50%;
    text-align: center;
}

    .info-box h3 {
        font-size: 1.8rem;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .info-box p {
        font-size: 1.1rem;
        font-weight: 300;
        margin-bottom: 20px;
    }

.logo {
    width: 100px;
}
/* Right login form styling */
.regi .form-label {
    margin-bottom: .2rem;
}

.regi .form-control {
    padding: 6px 12px;
    margin-bottom: 10px;
}

.logintitel small {
    display: block;
    font-size: 0.8rem;
    margin: 5px;
}

.login-form {
    padding: 20px 40px;
    width: 50%;
}

    .login-form h4, .login-form h5 {
        color: #004EAA;
        font-weight: 600;
        margin-bottom: 25px;
        text-align: center;
    }

.form-control {
    border-radius: 10px;
    padding: 12px;
    border: 2px solid #ddd;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    background-color: #f1f1f1;
}

    .form-control:focus {
        border-color: #0067D4;
        box-shadow: 0 0 8px rgba(22, 25, 191, 0.5);
    }

.btn-login {
    background: linear-gradient(90deg, #7310D7, #df1b6e);
    color: white;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
}

    .btn-login:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(0, 65, 106, 0.5);
        color: white;
    }

.captcha-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    padding: 0px 0px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.captcha-text {
    font-weight: bold;
    font-size: 1.3rem;
    color: #00416A;
    letter-spacing: 3px;
    user-select: none;
    animation: shake 2s infinite ease-in-out;
    padding-left: 10px;
}

@keyframes shake {
    0%, 100% {
        transform: rotate(-2deg);
    }

    50% {
        transform: rotate(2deg);
    }
}

.refresh-btn {
    background: none;
    border: none;
    color: #0078B7;
    font-size: 1.3rem;
    cursor: pointer;
    transition: transform 0.3s;
}

    .refresh-btn:hover {
        transform: rotate(180deg);
    }

footer {
    text-align: center;
    color: #777;
    font-size: 0.8rem;
    margin-top: 20px;
}

    footer a {
        color: #00416A;
        text-decoration: none;
    }

        footer a:hover {
            text-decoration: underline;
        }
