:root {
    --primary-color: #B51F1F;
    --primary-color-hover: #8b1515;
    --bg-color: #f9f9f9;
    --card-bg: #ffffff70;
    --text-color: #333;
    --input-border: #DDD;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 0.8rem;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://dirin.s3.us-east-1.amazonaws.com/Banners_AVA/CINZA.png');
    background-repeat: no-repeat;
    background-position: 130% center;
    background-size: auto 145%;
    opacity: 0.2;
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 1;
    background-color: var(--card-bg);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 3.5rem 2rem 3rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header p {
    color: #666;
    font-size: 1.1rem;
    padding: .4rem .2rem 0 .2rem;
    font-weight: bold;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.input-icon {
    position: relative;
    width: 100%;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid var(--input-border);
    border-radius: 0.5rem;
    font-size: 0.85rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border: 2px solid var(--primary-color);
}

.input-icon i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #444;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.3s;
}

.input-icon:focus-within i {
    color: var(--primary-color);
}

.login-button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

.login-button:hover {
    background-color: var(--primary-color-hover);
}

.login-button:active {
    transform: scale(0.98);
}

.footer-links {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color-hover);
}

.footer-links small {
    text-align: center;
    padding: 20px;
    color: #666666;
    font-family: Arial, sans-serif;
}
