﻿
body {
    background: linear-gradient( to bottom, #38e0b2 0%, #39a0ef 25%, #39a0ef 75%, #6a44d0 100% );
    min-height: 100vh;
    background-color: #fff0a4;
    height: 100vh;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: relative;
    overflow: hidden;
}

/* 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: 900px;
    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-color: #00416A;
    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: 40px;
    width: 50%;
}

    .login-form h4, .login-form h5 {
        color: #00416A;
        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: #00416A;
        box-shadow: 0 0 8px rgba(0, 65, 106, 0.5);
    }

.btn-login {
    background: linear-gradient(90deg, #00416A, #00b4db);
    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: 10px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.captcha-text {
    font-weight: bold;
    font-size: 1.3rem;
    color: #00416A;
    letter-spacing: 3px;
    user-select: none;
    animation: shake 2s infinite ease-in-out;
}

@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;
        }
