/* Estilos para a página de login - index.php */

.bg-dimmed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Escurecer 70% */
    z-index: 1;
}

.bg-dimmed .bg-left-container {
    position: relative;
    z-index: 2; /* Texto por cima do escurecimento */
}


.logo_mobile{
	width: 50px;
	height: 50px;
}

.h1{
	font-size: 4vm;
    min-font-size: 1rem;
    max-font-size: 3rem;	
	font-weight: bold;
}
.quote-lead{
	font-size: 30px;
}
.form-control::placeholder {
    color: rgba(108, 117, 125, 0.5) !important; /* Mais sutil */
    font-style: italic; /* Opcional: itálico */
} 

.card-body-grey{
	background-color: #eee !important;
}


.shadowed{
	text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Container do formulário */
.form-container {
    max-width: 400px;
    width: 100%;
}

/* Logo */
.logo {
    max-width: 240px;
    max-height: 240px;
    height: auto;
}

/* Para mobile, manter menor */
@media (max-width: 992px) {
	 body{
		background-color: #ddd;	 
	 }
    .logo {
        width: 180px;
        height: 180px;
    }
}

/* Botões */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Inputs */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

/* Estados de validação */
.form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.13-.02.44-.2c.1-.04.17-.1.22-.18.08-.11.12-.22.12-.35 0-.22-.05-.43-.15-.61-.09-.15-.23-.27-.38-.35-.23-.12-.483-.07-.68.1-.133.12-.2.25-.2.4-.013.14.06.27.2.35.333.15.583.27.733.4z'/%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4M5.8 7.4l1.4-1.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Texto de ajuda */
.form-text {
    margin-top: 0.5rem;
}

.form-text small {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Links */
a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

a:hover {
    color: #764ba2;
}

/* Animações */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mensagens */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    min-width: 300px;
    border-radius: 8px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .form-container {
        max-width: 500px;
    }
}

@media (max-width: 576px) {
    .form-container {
        padding: 0 15px;
    }
    
    .btn-primary {
        padding: 14px 24px;
    }
}