/* Login page styles — mirrors suite.marketone.co/login. */

.login-body *,
.login-body *::before,
.login-body *::after {
    box-sizing: border-box;
}

body.login-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.login-container {
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.form-signin {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.form-signin img.brand {
    width: 85%;
    max-width: 320px;
    display: block;
    margin: 0 auto 2rem;
    filter: brightness(0) invert(1);
}

.form-signin input[type="text"],
.form-signin input[type="password"],
.form-signin input[type="email"] {
    width: 100%;
    margin-bottom: 14px;
    border-radius: 10px;
    background: rgba(60, 20, 110, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.25s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

.form-signin input[type="text"]:focus,
.form-signin input[type="password"]:focus,
.form-signin input[type="email"]:focus {
    background: rgba(60, 20, 110, 0.55);
    border-color: rgba(255, 255, 255, 0.25);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.form-signin input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn-login {
    width: 100%;
    background: rgba(60, 20, 110, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px;
    font-weight: 600;
    margin-top: 4px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-login:hover {
    background: rgba(75, 25, 135, 0.75);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.btn-secondary-login {
    display: block;
    width: 70%;
    max-width: 240px;
    margin: 1.25rem auto 0;
    text-align: center;
    text-decoration: none;
    background: rgba(40, 10, 80, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.btn-secondary-login:hover {
    background: rgba(55, 15, 100, 0.65);
    transform: translateY(-1px);
}

.login-error {
    background: rgba(254, 226, 226, 0.95);
    color: #991b1b;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 6px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-align: center;
}

.powered-by {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    margin-top: 2.5rem;
}

.powered-by img {
    opacity: 0.9;
    margin-bottom: 0.25rem;
    filter: brightness(0) invert(1);
}

.powered-by p {
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}
