﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    overflow: hidden;
    /*background: url(https://marketplace.canva.com/EAGk4eBdsl8/1/0/1280w/canva-blue-and-white-modern-background-instagram-post-gbXzffny7N8.jpg) no-repeat;*/
    background-image: url('../img/login_bg.jpg');
    background-size: cover;
}

.container {
    display: flex;
    height:95vh;
} 
.login-logo {
    background: rgba(255,255,255,1);
    border-radius: 7px; 
    padding: 100px 30px;
    text-align:center;
}
.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.logo {
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

    .logo::before {
        content: "🌿";
        font-size: 1.5rem;
    }

.illustration {
    width: 100%;
    max-width: 500px;
    height: 400px;
    position: relative;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

    .illustration::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fff%7D.cls-2%7Bfill:%23ff6b35%7D.cls-3%7Bfill:%23ffd93d%7D.cls-4%7Bfill:%234a90e2%7D%3C/style%3E%3C/defs%3E%3Cellipse cx='200' cy='200' rx='150' ry='80' class='cls-1'/%3E%3Crect x='50' y='50' width='20' height='40' class='cls-2'/%3E%3Crect x='80' y='60' width='20' height='30' class='cls-2'/%3E%3Crect x='110' y='45' width='20' height='45' class='cls-2'/%3E%3Crect x='140' y='55' width='20' height='35' class='cls-2'/%3E%3Ccircle cx='250' cy='100' r='30' class='cls-3'/%3E%3Crect x='300' y='80' width='60' height='40' rx='5' class='cls-4'/%3E%3Crect x='180' y='160' width='40' height='60' rx='20' class='cls-2'/%3E%3Crect x='260' y='170' width='40' height='50' rx='20' class='cls-4'/%3E%3C/svg%3E") center/contain no-repeat;
        opacity: 0.8;
    }

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-cube {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    animation: float 3s ease-in-out infinite;
}

    .floating-cube:nth-child(1) {
        top: 10%;
        right: 15%;
        animation-delay: 0s;
    }

    .floating-cube:nth-child(2) {
        top: 30%;
        right: 10%;
        animation-delay: 1s;
    }

    .floating-cube:nth-child(3) {
        bottom: 20%;
        right: 20%;
        animation-delay: 2s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.right-section {
    flex: 1;
/*    background: linear-gradient(240deg, #27307d 21%, #03a1eb 106%);*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: white;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.welcome-text {
    text-align: center;
    margin-bottom: 3rem;
}

    .welcome-text h1 {
        font-size: 2.5rem;
        font-weight: 300;
        margin-bottom: 0.5rem;
    }

    .welcome-text h2 {
        font-size: 2.0rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .welcome-text p {
        font-size: 1.2rem;
        opacity: 0.9;
        font-weight: 300;
    }

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 1rem;
        font-weight: 500;
        opacity: 0.9;
    }

    .form-group input {
        width: 100%;
        padding: 0.5rem 0.5rem;
        border: none;
        border-radius: 5px;
        font-size: 1rem;
        background: white;
        color: #333;
        outline: none;
        transition: all 0.3s ease;
        border: 3px solid transparent;
    }

        .form-group input:focus {
            background: white;
            border-color: #ff6b35;
            box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
        }

.login-btn {
    width: 100%;
    padding: 0.5rem 0.5rem;
    background: #f4b215;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0rem 0;
}

/*    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    }*/

    .login-btn:active {
        transform: translateY(0);
    }

.signup-link {
    text-align: center;
    margin: 2rem 0;
}

    .signup-link a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: underline;
        transition: color 0.3s ease;
    }

        .signup-link a:hover {
            color: white;
        }

.footer-links {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    width: 100%;
}

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: white;
        }

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left-section {
        justify-content: center;
        align-items: center;
        padding: 2rem;
        position: relative;
    }

    .left-section {
        height: 0vh;
        padding: 1rem;
    }
    .left-section img{
        width:100px !important;
    }

    .illustration {
        height: 200px;
        border-radius: 20px;
    }

    .right-section {
        height: 60vh;
        padding: 1rem;
    }

    .welcome-text h1,
    .welcome-text h2 {
        font-size: 1.8rem;
    }

    .welcome-text p {
        font-size: 1rem;
    }

    .logo {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 1rem;
    }

    .footer-links {
        margin-top: 1rem;
    }

    /*.login-logo{
        display:none;
    }*/

    .login-logo {
        background: rgba(255,255,255,1);
        border-radius: 7px;
        padding: 0px 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .left-section {
        height: 0vh;
    }
    .left-section {
        justify-content: center;
        align-items: center;
        padding: 0rem;
        position: relative;
    }

    .right-section {
        height: 70vh;
    }

    .welcome-text {
        margin-bottom: 2rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .login-btn {
        margin: 1.5rem 0;
    }
    .login-logo {
        background: rgba(255,255,255,1);
        border-radius: 7px;
        padding: 0px 30px;
        text-align: center;
    }
    /*.login-logo {
        display: none;
    }*/
}
.toggle-password {
    position:absolute;
    top:25%;
    right:10px;
    color:black;
    cursor:pointer;
}
.footer-text {
    background: black;
    padding: 5px;
    text-align: center;
    color: white;
}
.position-relative {
    position:relative;
}