﻿body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: #E0F2F7;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

h1 {
    color: #2196F3;
    padding-top:50px;
    font-size: 50px;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

h3 {
    text-align: center;
    font-size: 22px;
    color: blueviolet;
    margin-top: 11px;
}

.loginpage {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    width: 400px;
    padding: 30px 25px;
    margin: 40px auto;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    animation: fadeIn 0.8s ease-in-out;
}

input {
    width: 100%;
    height: 42px;
    margin-top: 18px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

    input:focus {
        border-color: #2575fc;
        box-shadow: 0 0 6px rgba(37,117,252,0.5);
    }

button {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    color: white;
    width: 100%;
    height: 45px;
    margin-top: 22px;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

    button:hover {
        transform: translateY(-2px);
        opacity: 0.9;
    }

p {
    color: #333;
    font-size: 15px;
    margin-top: 10px;
}

    p a {
        text-decoration: none;
        color: #2575fc;
        font-weight: 500;
    }

        p a:hover {
            text-decoration: underline;
        }

hr {
    border: 1px solid #ccc;
    width: 100%;
    margin: 20px 0;
}

.createaccount {
    background: linear-gradient(135deg, #28a745, #218838);
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, opacity 0.2s;
}

    .createaccount:hover {
        transform: translateY(-2px);
        opacity: 0.9;
    }

    .createaccount a {
        color: white;
        text-decoration: none;
    }
.info-msg-stl {
    background: #d4edda;
    color: #155724;
    padding: 12px 18px;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    margin: 80px auto 20px; /* 🔑 Push it down below navbar */
    width: 80%;
    max-width: 600px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    animation: fadeIn 0.8s ease-in-out;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* ✅ Responsive */
@media (max-width: 480px) {
    .loginpage {
        width: 90%;
        padding: 20px;
    }

    h1 {
        font-size: 38px;
    }
}
