
* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.jss {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #8597FF, #8F5FC9);

    /* Organize the page vertically */
    display: flex;
    flex-direction: column;
    align-items: stretch;

    padding: 0;
}

/* Navbar */
#navbar {
    width: 100%;
    flex-shrink: 0;
}

/* Main section */
.jss {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* Create Account card */
.Page {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.CreateAccount h1 {
    color: white;
    margin-bottom: 10px;
}

.CreateAccount p {
    color: #e0e0e0;
    margin-bottom: 24px;
    font-size: 14px;
}

.CreateAccount input {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 14px;
    outline: none;
}

.CreateAccount input::placeholder {
    color: #eeeeee;
}

.CreateAccount button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(134deg, #5E70D6, #36C9FF);
    color: white;
    cursor: pointer;
    font-size: 15px;
}

.CreateAccount button:hover {
    background: linear-gradient(134deg, #36C9FF, #5E70D6);
}

/* Sign-in text inside the card */
.CreateAccount footer {
    margin-top: 20px;
}

.CreateAccount footer p {
    margin-bottom: 0;
}

.CreateAccount footer a {
    color: #36C9FF;
    text-decoration: none;
}

.CreateAccount footer a:hover {
    text-decoration: underline;
}

/* Footer loaded from footer.html */
#footer {
    width: 100%;
    /* It prevents FLEXBOX from shiring the element */
    flex-shrink: 0;
}

#message {
    font-size: 14px;
    margin-top: 10px;
}

.success {
    color: lightgreen;
}

.error {
    color: #ff6b6b;
}

@media (max-width: 500px) {
    .jss {
        padding: 25px 15px;
    }

    .Page {
        padding: 20px;
    }
}
