﻿* {
    box-sizing: border-box;
}

body {
    background-image: url('https://cdn01.cimediacloud.com/cifiles/3a5b995d0c754262acac07695d104c1a/renditions/thumbnail-2000px.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NkbjAxLmNpbWVkaWFjbG91ZC5jb20vY2lmaWxlcy8zYTViOTk1ZDBjNzU0MjYyYWNhYzA3Njk1ZDEwNGMxYS9yZW5kaXRpb25zL3RodW1ibmFpbC0yMDAwcHguanBnIiwiQ29uZGl0aW9uIjp7IklwQWRkcmVzcyI6eyJBV1M6U291cmNlSXAiOiIwLjAuMC4wLzAifSwiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE4MzY5MzI0MTd9fX1dfQ__&Signature=EDrw6dcs1iKju8bLGA7ie5xI2GtpoFSUIWwOXxe6qPR0IpuNG4rbgvqEGg7fe6HJoaF1g9Fp53QsmtK9RojA6~DCGU42izuAkRg7QgQDgJHX6oRgPiguO2SXc1A6Pke5J5TUV1t2ZXJFw4MYePFulNqT5-Q2j9YJ9TRLpplujsI_&Key-Pair-Id=APKAJNUSFH4IKQRZ44WA');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: -1;
    }

.login-container {
    max-width: 400px;
    width: 100%;
    padding: 20px;
    z-index: 1;
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    padding: 25px;
}

.logo-box {
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.logo-box img {
    max-width: 100%;
    height: auto;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
}

    .form-control:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
        outline: none;
    }

.mb-3 {
    margin-bottom: 1.5rem;
}

.w-100 {
    width: 100%;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    line-height: 1.5;
    cursor: pointer;
}

.btn-lg {
    padding: 12px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: #1a689b;
    border-color: #1a689b;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #fff;
}

    .btn-primary:hover {
        background-color: #0b5ed7;
        border-color: #0a58ca;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    }

.text-center {
    text-align: center;
}

.text-danger {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

h1 {
    color: #333;
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 0;
    font-size: 1.75rem;
}

/* Password Strength Bar Styles */
.password-strength-container {
    margin-top: 8px;
    display: none;
}

    .password-strength-container.active {
        display: block;
    }

.password-strength-bar {
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 3px;
}

    .password-strength-fill.weak {
        width: 33%;
        background-color: #dc3545;
    }

    .password-strength-fill.medium {
        width: 66%;
        background-color: #ffc107;
    }

    .password-strength-fill.strong {
        width: 100%;
        background-color: #28a745;
    }

.password-strength-text {
    font-size: 0.75rem;
    font-weight: 600;
}

    .password-strength-text.weak {
        color: #dc3545;
    }

    .password-strength-text.medium {
        color: #ffc107;
    }

    .password-strength-text.strong {
        color: #28a745;
    }

.email-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

    .email-error.active {
        display: block;
    }

.form-error-summary {
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 1rem;
    display: none;
}

    .form-error-summary.active {
        display: block;
    }

    .form-error-summary ul {
        margin: 0;
        padding-left: 20px;
        color: #842029;
    }

        .form-error-summary ul li {
            margin-bottom: 5px;
        }

            .form-error-summary ul li:last-child {
                margin-bottom: 0;
            }
