@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-green: #29b14a;
    --dark-green: #1e8a3a;
    --light-green: #4bc96d;
    --glass-green: rgba(41, 177, 74, 0.15);
    --glass-border: rgba(41, 177, 74, 0.3);
    --text-light: #f8f9fa;
    --text-dark: #212529;
    --glass-white: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #0a1f0e, #0c3315);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.auth-container {
    display: flex;
    width: 950px;
    height: 600px;
    background: var(--glass-green);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2), inset 0 0 0 1px var(--glass-border);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-panel {
    flex: 1;
    padding: 50px;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

    .info-panel::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient( to bottom right, rgba(41, 177, 74, 0.1), rgba(30, 138, 58, 0.05) );
        transform: rotate(30deg);
        z-index: -1;
    }

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: #0a1f0e;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 5px 20px rgba(41, 177, 74, 0.5);
    animation: pulse 3s infinite;
}

    .logo-icon i {
        color: white;
        font-size: 28px;
    }

.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(to right, white, #e2e2e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-content h2 {
    font-size: 32px;
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.3;
}

.info-content p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
}

.features {
    list-style: none;
}

    .features li {
        margin-bottom: 18px;
        display: flex;
        align-items: center;
        font-size: 15px;
    }

    .features i {
        color: var(--light-green);
        margin-right: 12px;
        font-size: 16px;
    }

.social-links {
    display: flex;
    gap: 15px;
}

    .social-links a {
        color: var(--text-light);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--glass-white);
        border: 1px solid var(--glass-border);
        transition: all 0.4s;
        text-decoration: none;
        backdrop-filter: blur(5px);
    }

        .social-links a:hover {
            background: var(--primary-green);
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 5px 15px rgba(41, 177, 74, 0.4);
        }

.login-panel {
    flex: 1;
    padding: 60px 50px;
    background: rgba(255, 255, 255, 0.93);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.login-header {
    margin-bottom: 50px;
    text-align: center;
}

    .login-header h1 {
        font-size: 32px;
        color: var(--dark-green);
        margin-bottom: 12px;
        font-weight: 700;
    }

    .login-header p {
        color: #6c757d;
        font-size: 15px;
    }

.input-group {
    position: relative;
    margin-bottom: 30px;
}

    .input-group input {
        width: 100%;
        padding: 16px 25px;
        background: white;
        border: 1px solid #e9ecef;
        border-radius: 12px;
        font-size: 16px;
        color: var(--text-dark);
        outline: none;
        transition: all 0.4s;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    }

        .input-group input:focus {
            border-color: var(--primary-green);
            box-shadow: 0 0 0 3px rgba(41, 177, 74, 0.2);
        }

    .input-group label {
        position: absolute;
        top: 16px;
        left: 25px;
        color: #6c757d;
        font-size: 16px;
        pointer-events: none;
        transition: all 0.4s;
    }

    .input-group input:focus + label,
    .input-group input:valid + label {
        top: -12px !important;
        left: 15px !important;
        font-size: 14px !important;
        background: white !important;
        color: var(--primary-green) !important;
        padding: 0 8px !important;
        font-weight: 500;
        border-radius:6px;
    }

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 15px;
}

    .remember-forgot a {
        color: #6c757d;
        text-decoration: none;
        transition: color 0.3s;
    }

        .remember-forgot a:hover {
            color: var(--primary-green);
            text-decoration: underline;
        }

.login-btn {
    width: 100%;
    padding: 17px;
    background: linear-gradient(45deg, var(--dark-green), var(--primary-green));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 5px 20px rgba(41, 177, 74, 0.3);
    position: relative;
    overflow: hidden;
}

.swal2-confirm {
    background: linear-gradient(45deg, #1e8a3a, #29b14a) !important;
    border: none !important;
    outline: none !important;
    color: white;
    transition: all 0.4s;
    box-shadow: 0 5px 20px rgba(41, 177, 74, 0.3) !important;
    position: relative;
    overflow: hidden;
}
    .swal2-confirm:before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.3), transparent );
        transition: 0.6s;
    }

.login-btn:hover, .swal2-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(41, 177, 74, 0.5);
}

    .login-btn:active {
        transform: translateY(1px);
    }

    .login-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.3), transparent );
        transition: 0.6s;
    }

.login-btn:hover::before, .swal2-confirm:hover:before {
    left: 100%;
}

.register-link {
    text-align: center;
    margin-top: 30px;
    color: #6c757d;
    font-size: 15px;
}

    .register-link a {
        color: var(--primary-green);
        text-decoration: none;
        font-weight: 600;
    }

        .register-link a:hover {
            text-decoration: underline;
        }

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(41, 177, 74, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(41, 177, 74, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(41, 177, 74, 0);
    }
}

/* Floating elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

    .floating-elements span {
        position: absolute;
        display: block;
        background: rgba(41, 177, 74, 0.1);
        animation: float 15s linear infinite;
        bottom: -150px;
        border-radius: 50%;
        backdrop-filter: blur(2px);
        border: 1px solid rgba(41, 177, 74, 0.15);
    }

        .floating-elements span:nth-child(1) {
            left: 5%;
            width: 120px;
            height: 120px;
            animation-delay: 0s;
            animation-duration: 22s;
        }

        .floating-elements span:nth-child(2) {
            left: 15%;
            width: 50px;
            height: 50px;
            animation-delay: 2s;
            animation-duration: 14s;
        }

        .floating-elements span:nth-child(3) {
            left: 75%;
            width: 40px;
            height: 40px;
            animation-delay: 4s;
            animation-duration: 20s;
        }

        .floating-elements span:nth-child(4) {
            left: 45%;
            width: 90px;
            height: 90px;
            animation-delay: 0s;
            animation-duration: 17s;
        }

        .floating-elements span:nth-child(5) {
            left: 65%;
            width: 30px;
            height: 30px;
            animation-delay: 0s;
            animation-duration: 27s;
        }

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

/* Glow effect */
.glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 177, 74, 0.2), transparent 70%);
    filter: blur(40px);
    z-index: 0;
    animation: moveGlow 18s infinite alternate;
}

    .glow:nth-child(2) {
        width: 350px;
        height: 350px;
        background: radial-gradient(circle, rgba(30, 138, 58, 0.15), transparent 70%);
        animation-delay: 3s;
        animation-duration: 22s;
    }

@keyframes moveGlow {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(120px, -60px);
    }

    50% {
        transform: translate(-60px, 100px);
    }

    75% {
        transform: translate(100px, 120px);
    }

    100% {
        transform: translate(-120px, -100px);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .auth-container {
        width: 90%;
        height: auto;
        flex-direction: column;
    }

    .info-panel, .login-panel {
        padding: 40px;
    }

    .info-panel {
        order: 2;
    }

    .login-panel {
        order: 1;
    }

    .logo {
        margin-bottom: 30px;
    }

    .info-content h2 {
        font-size: 28px;
    }
}


.info-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( 135deg, rgba(41, 177, 74, 0.05) 0%, rgba(255,255,255,0.1) 50%, rgba(41, 177, 74, 0.05) 100% );
    background-size: 200% 200%;
    animation: holographic 6s ease infinite;
    z-index: -1;
}

@keyframes holographic {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}


