#login,
#signup {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bg-shape {
    position: absolute;
    z-index: 0;
    opacity: 0.12;
    animation: float 6s ease-in-out infinite, rotate 12s linear infinite;
}

.shape1 {
    top: 50px;
    left: 80px;
    font-size: 80px;
    color: #2575fc;
}

.shape2 {
    bottom: 100px;
    right: 100px;
    font-size: 90px;
    color: #6a11cb;
    animation-delay: 1s;
}

.shape3 {
    top: 200px;
    right: 200px;
    font-size: 70px;
    color: #00b894;
    animation-delay: 2s;
}

.shape4 {
    bottom: 200px;
    left: 150px;
    font-size: 75px;
    color: #ff9800;
    animation-delay: 3s;
}

.shape5 {
    top: 400px;
    left: 300px;
    font-size: 65px;
    color: #e84393;
    animation-delay: 4s;
}

.shape6 {
    bottom: 50px;
    left: 50%;
    font-size: 85px;
    color: #00c6ff;
    animation-delay: 5s;
}

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

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

    100% {
        transform: translateY(0px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.login-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 40px;
    max-width: 400px;
    width: 100%;
    z-index: 1;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.login-card h2 {
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #490b3d;
}

.login-card p {
    text-align: center;
    color: #6c757d;
    margin-bottom: 25px;
}

.form-control {
    border-radius: 12px;
    padding: 12px;
    transition: 0.3s;
}

.form-control:focus {
    border-color: #2575fc;
    box-shadow: 0 0 10px rgba(37, 117, 252, 0.3);
}

.btn-login {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    transform: scale(1.05);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.text-small {
    font-size: 0.85rem;
    text-align: center;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .bg-shape {
        font-size: 50px;
        opacity: 0.07;
    }
}

@media (max-width: 576px) {
    .bg-shape {
        display: none;
        /* hide icons completely on small devices */
    }
}

.signup-body {
    font-family: Arial, sans-serif;
    background-image: url('/static/images/test.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.signup-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /*filter: blur(2px); */
    z-index: 0;
}

.signup-container {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.signup-box {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.login-card h2,
.signup-box h2 {
    margin-bottom: 15px;
    font-weight: bold;
    color: #490b3d;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group .input-login-signup {
    width: 100%;
    padding: 12px 45px;
    border: none;
    border-radius: 30px;
    background: #f9f9f9;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-group .input-login-signup:hover,
.input-group .input-login-signup:focus {
    background: #ffffff;
    box-shadow: 0 0 10px rgba(83, 26, 133, 0.3);
    outline: none;
}

.input-group .input-login-signup:focus+.input-icon,
.input-group .input-login-signup:hover+.input-icon {
    color: #ad1fff;
}

.input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #531a85;
    font-size: 16px;
    left: 15px;
}

.btn-gradient {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #ff512f, #dd2476);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-gradient:hover {
    background: linear-gradient(90deg, #8e2de2, #4a00e0);
}

.signin-text {
    font-size: 12px;
    margin-top: 15px;
}

.signin-text a {
    color: #8e2de2;
    text-decoration: none;
}

.signin-text a:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .signup-box {
        padding: 20px;
    }
}