/* =================================================
   Customizações Mobile para Sistema Pequeninos
   ================================================= */

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
    /* Ocultar page-header em celulares */
    .page-header.min-height-100.border-radius-xl {
        display: none !important;
    }
    
    /* Ajustar card header em celulares */
    .card.card-body.shadow-blur.mt-n6.blur {
        background: #73798b !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Garantir textos brancos no card em celulares */
    .card.card-body.shadow-blur.mt-n6.blur h5,
    .card.card-body.shadow-blur.mt-n6.blur p,
    .card.card-body.shadow-blur.mt-n6.blur * {
        color: white !important;
    }
    
    /* Alinhar botões à esquerda e pintar de preto no card header */
    .card.card-body.shadow-blur.mt-n6.blur .text-center {
        text-align: left !important;
    }
    
    .card.card-body.shadow-blur.mt-n6.blur a.btn,
    .card.card-body.shadow-blur.mt-n6.blur a.btn.bg-gradient-info,
    .card.card-body.shadow-blur.mt-n6.blur a.btn i,
    .card.card-body.shadow-blur.mt-n6.blur button.btn,
    .card.card-body.shadow-blur.mt-n6.blur button.btn.bg-gradient-info {
        text-align: left !important;
        justify-content: flex-start !important;
        background: white !important;
        background-color: white !important;
        background-image: none !important;
        border-color: white !important;
        color: black !important;
        display: inline-block !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }

     .card.card-body.shadow-blur.mt-n6.blur a.btn i{
        margin-right: 4px !important;
     }

    .container-fluid.py-4 {
        padding-top: 0.5rem !important;
    }
    
    /* Tornar botões do cropper maiores em dispositivos móveis */
    .cropper-toolbar .btn-group .btn {
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
    
    .cropper-toolbar .btn-group {
        margin-bottom: 10px !important;
    }
    
    .cropper-toolbar i {
        font-size: 20px !important;
    }
    
    /* Estilização do botão voltar e navbar mobile */
    /* Botão Voltar */
    .navbar-nav .nav-link i.fa-arrow-left {
        font-size: 1.2rem !important;
        color: #344767 !important;
        padding: 8px !important;
    }
    
    /* Espaçamento do navbar mobile */
    .navbar .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Botão sair no menu lateral */
    .sidenav .nav-item.border-top {
        border-color: rgba(0, 0, 0, 0.1) !important;
    }
    
    .sidenav .nav-item .text-danger {
        color: #dc3545 !important;
    }
    
    .sidenav .nav-item .bg-danger {
        background: linear-gradient(310deg, #dc3545 0%, #c82333 100%) !important;
    }
}