﻿/* Color variables & reset */
:root {
    --login-primary: #f8fafc;
    --login-primary-gradient: linear-gradient(135deg, #ffffff 0%, #e6f5f3 100%);
    --login-accent: #009688;
    --login-accent-light: #0d6efd;
    --login-text-primary: #0f172a;
    --login-text-secondary: #475569;
    --login-background: #f8fafc;
    --login-card-bg: rgba(255, 255, 255, 0.95);
    --login-input-bg: rgba(255, 255, 255, 0.9);
    --login-success: #009688;
    --login-border-color: rgba(226, 232, 240, 0.8);
    --login-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}*/

/* Body & container */
body {
    background-color: var(--login-background);
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23009688' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    /*max-width: 1200px;*/
    /*min-height: 600px;*/
    display: flex;
    border-radius: 24px;
    overflow: hidden;
    /*box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);*/
    position: relative;
}

.left-panel {
    flex: 1;
    background: var(--login-primary-gradient);
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
}

    .left-panel::before {
        content: '';
        position: absolute;
        bottom: -50%;
        right: -20%;
        width: 70%;
        height: 70%;
        background: radial-gradient(circle, rgba(0, 150, 136, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        z-index: -1;
    }

.right-panel {
    width: 450px;
    background-color: var(--login-card-bg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    position: relative;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}

    .right-panel::before {
        content: '';
        position: absolute;
        top: -30%;
        left: -20%;
        width: 60%;
        height: 60%;
        background: radial-gradient(circle, rgba(13, 110, 253, 0.08) 0%, transparent 70%);
        border-radius: 50%;
        z-index: -1;
    }

/* Logo & Branding */
.logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--login-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 150, 136, 0.3);
}

    .logo-icon span {
        color: white;
        font-size: 24px;
        font-weight: bold;
    }

.logo-text {
    margin-left: 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--login-text-primary);
    letter-spacing: -0.5px;
}

.headline-wrapper {
    margin-top: 40px;
    margin-bottom: 30px;
}

.headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--login-accent), var(--login-accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subheadline {
    color: var(--login-text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

/* Feature cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-top: auto;
    max-width: 100%;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--login-border-color);
    transition: all 0.35s ease;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--login-accent), var(--login-accent-light));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 150, 136, 0.3);
    }

        .feature-card:hover::before {
            opacity: 1;
        }

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(0, 150, 136, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 150, 136, 0.1);
}

    .feature-icon svg {
        width: 22px;
        height: 22px;
        color: var(--login-accent);
    }

.feature-content h3 {
    color: var(--login-text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
    position: relative;
    transition: all 0.2s ease;
}

.feature-content p {
    color: var(--login-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

.feature-card:hover .feature-content h3 {
    color: var(--login-accent);
}

/* Login Form */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}

    .form-header h2 {
        color: var(--login-accent);
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .form-header p {
        color: var(--login-text-secondary);
        font-size: 0.95rem;
    }

.form-group {
    margin-bottom: 20px;
    position: relative;
}

    .form-group label {
        display: block;
        color: var(--login-text-primary);
        font-size: 0.9rem;
        font-weight: 500;
        margin-bottom: 8px;
    }

.input-with-icon {
    position: relative;
}

    .input-with-icon input {
        width: 100%;
        padding: 12px 15px 12px 45px;
        border: 1px solid var(--login-border-color);
        border-radius: 12px;
        font-size: 1rem;
        color: var(--login-text-primary);
        background: var(--login-input-bg);
        transition: all 0.2s ease;
    }

        .input-with-icon input:focus {
            outline: none;
            border-color: var(--login-accent-light);
            box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
        }

    .input-with-icon i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--login-text-secondary);
        font-size: 18px;
    }

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
}

    .remember-me input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-right: 8px;
        accent-color: var(--login-accent);
        cursor: pointer;
    }

    .remember-me label {
        font-size: 0.9rem;
        color: var(--login-text-secondary);
        cursor: pointer;
    }

.forgot-password {
    font-size: 0.9rem;
    color: var(--login-accent-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

    .forgot-password:hover {
        color: var(--login-accent);
        text-decoration: underline;
    }

.btn-login {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--login-accent) 0%, var(--login-accent-light) 100%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 150, 136, 0.2);
}

    .btn-login:hover {
        background: linear-gradient(135deg, #00877a 0%, #0b5ed7 100%);
        box-shadow: 0 6px 15px rgba(0, 150, 136, 0.3);
        transform: translateY(-2px);
    }

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--login-text-secondary);
    font-size: 0.9rem;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--login-border-color);
    }

    .divider::before {
        margin-right: 15px;
    }

    .divider::after {
        margin-left: 15px;
    }

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #e7f1f0;
    width: 100%;
    color: var(--login-text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .social-btn:hover {
        background: linear-gradient(90deg, var(--login-accent), var(--login-accent-light));
        border-color: var(--login-accent);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        color:white;
    }

    .social-btn i {
        font-size: 18px;
    }

.google-btn i {
    color: #EA4335;
}

/* Responsive styles */
@media (max-width: 1300px) {
    .headline {
        font-size: 2.6rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-card {
        padding: 20px;
    }
}

@media (max-width: 1100px) {
    .container {
        max-width: 1000px;
    }

    .headline {
        font-size: 2.3rem;
    }

    .left-panel {
        padding: 30px;
    }
}

@media (max-width: 1000px) {
    .container {
        flex-direction: column;
        max-width: 650px;
        min-height: auto;
        border-radius: 20px;
    }


    .left-panel {
        padding: 35px;
        order :2;
    }

    .right-panel {
        width: 100%;
        border-radius: 20px 20px 0 0;
    }

    .headline-wrapper {
        margin-top: 15px;
        margin-bottom: 25px;
        text-align: center;
    }

    .subheadline {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        max-width: 500px;
    }

    .features-grid {
        margin: 0 auto 35px auto;
        max-width: 600px;
        grid-template-columns: repeat(2, 1fr);
    }

    .logo {
        justify-content: center;
    }
}


@media (max-width: 800px) {
    body {
        padding: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }

    .feature-card {
        padding: 20px;
    }
}

@media (max-width: 700px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 16px;
    }
    .left-panel {
        order: 2;
    }

    .left-panel, .right-panel {
        padding: 25px 20px;
    }

    .headline {
        font-size: 2rem;
    }

    .headline-wrapper {
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .subheadline {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

        .feature-icon svg {
            width: 18px;
            height: 18px;
        }
}

@media (max-width: 400px) {
    .headline {
        font-size: 1.75rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 20px;
    }

    .social-login {
        flex-direction: column;
    }

    .form-header h2 {
        font-size: 1.6rem;
    }
}

.neon-u {
    display: inline-block;
    font-size: 3rem;
    font-weight: bold;
    color: #8e44ad;
    /*text-shadow: 0 0 5px #8e44ad, 0 0 10px #9b59b6, 0 0 20px #e056fd, 0 0 40px #a29bfe;*/
    animation: floatGlow 2.5s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0);
        /*text-shadow: 0 0 5px #8e44ad, 0 0 10px #9b59b6, 0 0 20px #e056fd, 0 0 40px #a29bfe;*/
    }

    50% {
        transform: translateY(-10px);
        /*text-shadow: 0 0 10px #a29bfe, 0 0 20px #e056fd, 0 0 30px #9b59b6, 0 0 50px #8e44ad;*/
    }
}
