﻿.login-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #14b8a6, #2563eb);
    overflow: hidden;
    position: relative;
}

.medicine-shapes .pill {
    width: 120px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    position: absolute;
    animation: floatAnim 6s infinite ease-in-out;
}

.pill1 {
    top: 10%;
    left: 20%;
    animation-duration: 7s;
}

.pill2 {
    top: 50%;
    left: 70%;
    animation-duration: 9s;
}

.pill3 {
    top: 80%;
    left: 30%;
    animation-duration: 11s;
}

@keyframes floatAnim {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(10deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.login-box {
    width: 360px;
    background: white;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    text-align: center;
    animation: fadeIn 1s ease-out;
    position: relative;
    z-index: 2;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #0f172a;
}

.subtitle {
    color: #475569;
    margin-bottom: 20px;
}

.input-group {
    text-align: left;
    margin-bottom: 14px;
}

.input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    outline: none;
    transition: 0.2s;
}

    .input:focus {
        border-color: #2563eb;
        box-shadow: 0 0 6px rgba(37,99,235,0.5);
    }

.btn-login {
    width: 100%;
    padding: 12px;
    background: #0ea5e9;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    cursor: pointer;
    transition: 0.3s;
}

    .btn-login:hover {
        background: #0284c7;
    }

.error {
    color: red;
    font-weight: 600;
    margin-top: 10px;
}
