﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*body {
   font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
   
  background: linear-gradient(135deg, #1976ae 0%, #1565c0 25%, #0d47a1 75%, #1976ae 100%), radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);*/
   
    /*display: flex;*/
    /*align-items: center;
    justify-content: center;*/
    /*padding: 20px;*/
    /*position: relative;*/
    /* overflow: hidden;*/
    /*}*/
body {
    background: linear-gradient(135deg, #1976ae 0%, #1565c0 25%, #0d47a1 75%, #1976ae 100%), radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}
/*.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: radial-gradient(circle at 25% 25%, #ffffff 1px, transparent 1px), radial-gradient(circle at 75% 75%, #ffffff 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;*/
   /* animation: patternMove 20s linear infinite;*/
    /*pointer-events: none;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 80px);
    }
}*/

/*.floating-charts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.chart-element {
    position: absolute;
    opacity: 0.06;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    animation: floatChart 15s ease-in-out infinite;
}

.chart-1 {
    width: 120px;
    height: 80px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.chart-2 {
    width: 100px;
    height: 60px;
    bottom: 20%;
    right: 8%;
    animation-delay: -5s;
}

.chart-3 {
    width: 80px;
    height: 50px;
    top: 60%;
    left: 3%;
    animation-delay: -10s;
}

@keyframes floatChart {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}*/

.header-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
}

.header-logo-section {
    display: flex;
    align-items: center;
    color: white;
}

.header-chakra-logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    background: white;
    border-radius: 12px;
    padding: 3px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .header-chakra-logo:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    }

.header-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.3px;
}

.company-selector {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 18px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

    .company-selector:hover {
        background: rgba(255, 255, 255, 0.18);
        transform: translateY(-1px);
    }

.company-icon {
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/*.main-container {
    margin-top: 60px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}*/

.login-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    width: 100%;
    max-width: 1100px;
    /*height: 600px;*/
    height: auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    position: relative;
    transition: all 0.3s ease;
}

    .login-container:hover {
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

.features-section {
    background: linear-gradient(135deg, #1976ae 0%, #1565c0 50%, #0d47a1 100%);
    color: white;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .features-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect x="50" y="180" width="18" height="100" fill="rgba(255,255,255,0.08)" rx="4"/><rect x="85" y="140" width="18" height="140" fill="rgba(255,255,255,0.12)" rx="4"/><rect x="120" y="160" width="18" height="120" fill="rgba(255,255,255,0.08)" rx="4"/><rect x="155" y="120" width="18" height="160" fill="rgba(255,255,255,0.15)" rx="4"/><rect x="190" y="200" width="18" height="80" fill="rgba(255,255,255,0.08)" rx="4"/><circle cx="320" cy="150" r="50" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="3"/><circle cx="320" cy="150" r="30" fill="none" stroke="rgba(255,255,255,0.12)" stroke-width="2"/><circle cx="320" cy="150" r="15" fill="rgba(255,255,255,0.08)"/><path d="M260 120 Q285 100 310 120 Q335 140 360 120" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="2"/></svg>') no-repeat;
        background-size: 300px 200px;
        background-position: right 30px center;
        opacity: 0.7;
    }

.features-content {
    z-index: 2;
    position: relative;
}

.brand-section {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.chakra-logo-main {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    background: white;
    border-radius: 16px;
    padding: 3px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    color: white !important;
    letter-spacing: -0.5px;
}

.features-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.4;
    font-weight: 400;
}

.features-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 35px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 20px 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .feature-card:hover {
        background: rgba(255, 255, 255, 0.18);
        transform: translateY(-4px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    .feature-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
        transition: left 0.5s ease;
    }

    .feature-card:hover::after {
        left: 100%;
    }

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 16px;
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-desc {
    font-size: 0.85rem;
    opacity: 0.85;
    line-height: 1.3;
}

/*.live-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-top: 30px;
}*/

/*.metric-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}*/

/*    .metric-card:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-2px);
    }*/

/*.metric-chart {
    width: 45px;
    height: 45px;
    margin: 0 auto 10px;
    position: relative;
}*/

/*.chart-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ffffff 0deg, #ffffff 270deg, rgba(255,255,255,0.3) 270deg);
    animation: chartSpin 8s linear infinite;
}
*/
/*@keyframes chartSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}*/

/*.metric-number {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.metric-label {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 500;
}*/

.login-section {
    padding: 45px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

/*    .login-section::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(25, 118, 174, 0.04) 0%, transparent 70%);
        border-radius: 50%;
    }*/

.login-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.login-title {
    color: #1976ae !important;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.login-subtitle {
    color: #64748b;
    font-size: 1rem;
    font-weight: 400;
}
 
.form-group {
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

    .form-input:focus {
        outline: none;
        border-color: #1976ae;
        box-shadow: 0 0 0 4px rgba(25, 118, 174, 0.1), 0 4px 12px rgba(25, 118, 174, 0.15);
        transform: translateY(-1px);
    }

    .form-input:hover:not(:focus) {
        border-color: #d1d5db;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    z-index: 2;
    position: relative;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
}

.forgot-password a {
    color: #1976ae;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .forgot-password a:hover {
        color: #1565c0;
    }

.sign-in-btn {
    width: 100%;
    background: linear-gradient(135deg, #1976ae 0%, #1565c0 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(25, 118, 174, 0.3);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

    .sign-in-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.6s ease;
    }

    .sign-in-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(25, 118, 174, 0.4);
    }

        .sign-in-btn:hover::before {
            left: 100%;
        }

.create-account {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

    .create-account a {
        color: #1976ae;
        text-decoration: none;
        font-weight: 600;
    }

        .create-account a:hover {
            text-decoration: underline;
        }

.footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    z-index: 1000;
}

.developed-by {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 500;
}

.summum-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
   /* background: rgba(255, 255, 255, 0.1);*/
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .summum-brand:hover {
        background: rgba(255, 255, 255, 0.18);
        transform: translateY(-1px);
    }

.version-info {
    font-size: 0.85rem;
    opacity: 0.8;
}

@media (max-width: 992px) {
    .login-container {
        grid-template-columns: 1fr;
      /*  max-width: 500px;*/
    }

   /* .features-section {
        display: none;
    }*/

    .login-section {
        padding: 40px 35px;
    }
}

@media (max-width: 640px) {
    .main-container {
        padding: 0 15px;
        margin-top: 50px;
    }

    .login-section {
        padding: 35px 25px;
    }

    .login-title {
        font-size: 2rem;
    }

    .header-bar {
        height: 60px;
        padding: 0 20px;
    }

    .footer-bar {
        padding: 0 20px;
        height: 70px;
        flex-direction: column;
        gap: 8px;
    }
}

@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
         max-width: 1200px; 
    }
}

.container {
    padding-bottom: 80px; /* footer height (60px) + safe space */
}