﻿/* ------------------- Global Reset & Page Setup ------------------- */
body {
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(circle at center, #ffffff 0%, #f0f3f8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    /* * MODIFIED: Changed from 'auto' to 'hidden' to remove inline scroll */
    overflow: hidden;
}

/* ------------------- Main Login Container (Full Page Dimensions) ------------------- */
.login-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
}

/* ------------------- Left Gradient Section ------------------- */
.login-image-section {
    flex: 1;
    background: linear-gradient(135deg, #aae3fb 0%, #02b3fe 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 50px;
    text-align: center;
    max-width: 50%;
    overflow: hidden;
}

    /* Subtle texture or overlay effect */
    .login-image-section::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
    }

/* --- New Styling for the Left Section Content --- */
.image-content {
    z-index: 10;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 600px;
    margin: auto;
}

/* Central Logo Image (Increased Size: 300px) */
.central-logo-wrapper {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 11;
    margin-bottom: 20px;
    overflow: hidden;
}

    .central-logo-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        display: block;
    }


.company-name-below-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Features orbiting around the center */
.feature-orbit-container {
    position: absolute;
    /* Orbit size remains 500px diameter */
    width: 500px;
    height: 500px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9;
}

.feature-item {
    position: absolute;
    font-size: 0.95rem;
    font-weight: 600;
    color: #34495E;
    background-color: #ffffff;
    padding: 10px 18px;
    border-radius: 25px;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    pointer-events: auto;
    transition: all 0.3s ease;
    transform-origin: center center;
}

    .feature-item:hover {
        transform: scale(1.08);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
        background-color: #e6eef6;
    }

    .feature-item .icon {
        font-size: 1.2rem;
        margin-right: 8px;
        color: #34495E;
    }

    .feature-item:nth-child(1) {
        transform: rotate(0deg) translate(250px) rotate(0deg);
    }

    .feature-item:nth-child(2) {
        transform: rotate(45deg) translate(250px) rotate(-45deg);
    }

    .feature-item:nth-child(3) {
        transform: rotate(90deg) translate(250px) rotate(-90deg);
    }

    .feature-item:nth-child(4) {
        transform: rotate(135deg) translate(250px) rotate(-135deg);
    }

    .feature-item:nth-child(5) {
        transform: rotate(180deg) translate(250px) rotate(-180deg);
    }

    .feature-item:nth-child(6) {
        transform: rotate(225deg) translate(250px) rotate(-225deg);
    }

    .feature-item:nth-child(7) {
        transform: rotate(270deg) translate(250px) rotate(-270deg);
    }

    .feature-item:nth-child(8) {
        transform: rotate(315deg) translate(250px) rotate(-315deg);
    }

.image-content .tagline, .image-content h1, .image-content p {
    display: none;
}


.login-form-section {
    flex: 1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

.logo-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.login-form-section .logo-img {
    max-width: 50px;
    height: auto;
    margin-right: 15px;
    display: block;
}

.login-form-section h1.company-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.login-form-section h2 {
    font-weight: 800;
    color: #34495E;
    margin-bottom: 5px;
    font-size: 2rem;
}

.login-form-section p.subtitle {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 1.05rem;
}

.form-group label {
    font-weight: 600;
    color: #34495E;
    margin-bottom: 5px;
}

.form-control {
    border-radius: 8px;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    background-color: #f7f9fb;
    transition: all 0.3s ease;
    font-size: 1rem;
}

    .form-control:focus {
        border-color: #4A6572;
        box-shadow: 0 0 0 0.25rem rgba(74, 101, 114, 0.15);
        background-color: #ffffff;
    }

.form-check-input:checked {
    background-color: #4A6572;
    border-color: #4A6572;
}

.form-check-label {
    color: #6c757d;
}

.btn-submit {
    background-color: #4A6572;
    border-color: #4A6572;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(74, 101, 114, 0.4);
}

    .btn-submit:hover {
        background-color: #34495E;
        border-color: #34495E;
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(74, 101, 114, 0.5);
    }

.text-link {
    color: #4A6572;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

    .text-link:hover {
        color: #34495E;
        text-decoration: underline;
    }

.login-footer-text {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 5px;
    font-size: 0.9rem;
    color: #34495E;
    opacity: 0.6;
}

    .login-footer-text .version-info,
    .login-footer-text .powered-by {
        font-weight: 500;
    }

.login-content {
    width: 100%;
    max-width: 400px;
    padding: 60px 0;
}
