* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    display: flex;
    width: 900px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 15px 40px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-left {
    flex: 1;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-right: 40px;
}

.login-left::after {
    content: "";
    position: absolute;
    right: -60px;
    top: 0;
    width: 120px;
    height: 100%;
    background: #f39c12;
    border-radius: 50% 0 0 50%;
    z-index: 1;
}

.logo {
    width: 380px;
    margin-bottom: 10px;
}

.login-right {
    flex: 1;
    background: #f39c12;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    z-index: 2;
    padding: 0 40px;
}

.login-right h2 {
    margin-bottom: 35px;
    font-size: 24px;
    letter-spacing: 2px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.login-right form {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
    animation: slideIn 0.5s ease-out forwards;
    opacity: 0;
}

.input-group:nth-child(2) {
    animation-delay: 0.1s;
}

.input-group:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    width: 20px;
    height: 20px;
    opacity: 0.9;
    z-index: 1;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.toggle-password:hover {
    opacity: 1;
}

.login-right input {
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 14px 45px 14px 50px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.login-right input:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.login-right input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.login-right button {
    background-color: #fff;
    color: #f39c12;
    border: none;
    border-radius: 50px;
    padding: 14px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
    font-weight: 600;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.5s ease-out 0.3s forwards;
    opacity: 0;
}

.button-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.login-right button:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.login-right button:hover .button-icon {
    transform: translateX(5px);
}

.login-right button:active {
    transform: translateY(0);
}

.login-right button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.login-right button:active::before {
    width: 300px;
    height: 300px;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        width: 90%;
        height: auto;
        max-width: 400px;
    }

    .login-left::after {
        display: none;
    }

    .login-left {
        padding: 30px;
    }

    .logo {
        width: 200px;
    }

    .login-right {
        padding: 40px 30px;
    }
}