﻿/* Estilos gerais */
body {
    background-image: url("../img/v870-tang-36.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    min-height: 100vh;
}

    body.centered-body {
        display: flex;
        align-items: center;
    }

/* Container principal */
.container {
    padding: 15px;
    width: 100%;
}

/* Card de login */
.card {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    overflow: hidden;
}

.card-title {
    padding: 20px 0 0 0;
}

.logo {
    width: 70%;
    max-width: 220px;
    height: auto;
    margin-bottom: 10px;
}

/* Campos de formulário */
.form-control {
    height: 50px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding-left: 15px;
    font-size: 16px;
}

    .form-control:focus {
        border-color: #80bdff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

/* Botão de login */
.btn-primary {
    width: 100%;
    height: 50px;
    margin: 20px 0 10px 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    background-color: #007bff;
    border: none;
    transition: all 0.3s;
}

    .btn-primary:hover {
        background-color: #0069d9;
        transform: translateY(-2px);
    }

    .btn-primary:active {
        transform: translateY(0);
    }

/* Links */
.links-mobile a {
    color: #007bff;
    font-size: 14px;
    transition: color 0.2s;
}

    .links-mobile a:hover {
        color: #0056b3;
        text-decoration: none;
    }

.text-muted {
    color: #6c757d !important;
}

/* Modal de mensagens */
.modal-content {
    border-radius: 15px !important;
    border: none;
    overflow: hidden !important;
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    border-radius: 15px;
}

/* Media queries para responsividade */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .card {
        margin-top: 20px;
        border-radius: 10px;
    }

    .logo {
        width: 65%;
    }

    .btn-primary {
        height: 45px;
        font-size: 16px;
    }

    .form-control {
        height: 45px;
    }
}

@media (max-width: 576px) {
    .col-md-4 {
        padding: 0;
    }

    .card {
        margin-top: 10px;
        border-radius: 8px;
    }

    .logo {
        width: 60%;
    }

    .btn-primary {
        height: 44px;
        margin: 15px 0 8px 0;
    }

    .links-mobile a {
        font-size: 13px;
    }

    .text-muted {
        display: none;
    }

    .links-mobile a {
        display: block;
        margin: 5px 0;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

