﻿html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7eded;
    color: #373737;
}

.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.login-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    padding: 38px;
    background: ##ffffff1e;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 182, 193, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    color: #373737;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

    .login-logo img {
        width: 230px;
        max-width: 100%;
        height: auto;
    }

.login-heading {
    text-align: center;
    margin-bottom: 30px;
}

    .login-heading h1 {
        margin: 0 0 8px;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 30px;
        font-weight: 400;
    }

    .login-heading p {
        margin: 0;
        color: #777;
        font-size: 14px;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 7px;
        font-size: 13px;
        font-weight: 600;
    }

.form-control {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #bdbdbd;
    border-radius: 5px;
    font-size: 15px;
}

    .form-control:focus {
        border-color: #777472;
        box-shadow: 0 0 0 3px rgba(119, 116, 114, 0.12);
        outline: none;
    }

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0 24px;
    font-size: 12px;
}

    .login-options a {
        color: #777472;
        text-decoration: none;
    }

        .login-options a:hover {
            text-decoration: underline;
        }

.remember-me {
    display: flex;
    gap: 7px;
    align-items: center;
}

.login-button {
    width: 100%;
    border: 0;
    border-radius: 5px;
    padding: 14px;
    background: #777472;
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
}

    .login-button:hover {
        background: #666361;
    }

.login-error {
    margin: 18px 0;
    padding: 11px 14px;
    background: #f8d7da;
    border: 1px solid #e4a9ae;
    border-radius: 5px;
    color: #842029;
    font-size: 13px;
    text-align: center;
}

/* ========================================
   REGISTRATION
======================================== */

* {
    box-sizing: border-box;
}


.field-validation-error {
    display: block;
    margin-top: 6px;
    color: #842029;
    font-size: 12px;
}


.validation-summary-valid {
    display: none;
}


.register-login-link {
    margin-top: 22px;
    text-align: center;
    font-size: 13px;
    color: #777;
}


    .register-login-link a {
        color: #777472;
        font-weight: 600;
        text-decoration: none;
    }


        .register-login-link a:hover {
            text-decoration: underline;
        }


.registration-success {
    margin-bottom: 24px;
    padding: 18px;
    background: #f3eeee;
    border: 1px solid #d4cccc;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
}


    .registration-success p {
        margin: 8px 0 0;
    }


.login-button-link {
    display: block;
    text-align: center;
    text-decoration: none;
}


    .login-button-link:hover {
        color: white;
        text-decoration: none;
    }

/* MOBILE */

@media (max-width: 480px) {

    .login-page {
        align-items: flex-start;
        padding: 30px 18px;
    }

    .login-card {
        padding: 28px 22px;
    }

    .login-logo img {
        width: 190px;
    }

    .login-heading h1 {
        font-size: 26px;
    }

    .login-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}


/* Canvas for Petals Animation */
#petal-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Behind the container */
    pointer-events: none;
}
