/* static/css/landing/login.css */

/* ========== Login Illustration Section ========== */
.login-illus {
    transform: scale(0.9);
    min-height: 350px;
    width: 90%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.login-bg {
    justify-content: flex-start;
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.login-background .bg-pattern {
    width: 100%;
    object-fit: cover;
}

.login-content {
    position: relative;
    z-index: 10;
    max-width: 500px;
    width: 100%;
    padding: 40px;
}

/* Login Decorations */
.login-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Stat Cards */
.stat-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 10px 40px rgb(177 184 232 / 70%);
    opacity: 0.95;
}

.stat-num {
    position: relative;
    width: 40px;
    height: 40px;
    margin: 0 auto 4px;
}

.stat-card-left {
    top: 40%;
    right: 0px;
    transform: translateY(-50%);
    width: 300px;
}

.stat-card-right {
    bottom: -6%;
    left: 0;
    width: 300px;
}

.description.login-desc {
    margin-bottom: 3rem;
}

/* Stat Grid */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.stat-item {
    text-align: center;
}

.progress-circle {
    width: 40px;
    height: 40px;
    display: block;
}

.progress-bar {
    transition: stroke-dashoffset 1s ease;
}

.stat-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
    pointer-events: none;
}

.stat-label {
    font-size: 10px;
    color: #6b7280;
    line-height: 1.2;
}

/* Responsive adjustments */

@media (max-width: 968px) {

    .login-illus {
        min-height: 220px;
        width: 100%;
    }

    .stat-card-left{
            transform: scale(0.7);
    top: 20%;
    right: -40px;
    }

    .stat-card-right{
            transform: scale(0.7);
    bottom: -20%;
    left: -50px;
    }

    .description.login-desc {
    margin-bottom: 1rem;
}
    
}