/* Estilos específicos para a página de Gestão de Companhias - RAT ATMs */

/* Statistics Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background-color: #1E3A8A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.stat-number {
    font-size: 24px;
}

/* Estilos para upload de logotipo */
.logo-upload-container {
    margin-top: 10px;
}

.logo-preview {
    margin-top: 15px;
    padding: 20px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    text-align: center;
    background-color: #f8f9fa;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.logo-preview img {
    max-width: 200px;
    max-height: 200px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.no-logo {
    color: #6c757d;
    font-size: 14px;
}

#logotipo {
    margin-bottom: 10px;

    font-weight: 700;
    color: #1F2937;
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Warning Text */
.warning-text {
    background-color: #FEF3C7;
    color: #D97706;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.warning-text i {
    font-size: 16px;
}

/* Company Status Badges */
.status-ativo {
    background-color: #DCFCE7;
    color: #16A34A;
}

.status-inativo {
    background-color: #FEE2E2;
    color: #DC2626;
}

.status-suspenso {
    background-color: #FEF3C7;
    color: #D97706;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.action-buttons .btn {
    padding: 6px 12px;
    font-size: 12px;
    min-width: auto;
}

/* Company Details */
.company-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.company-detail-item {
    margin-bottom: 15px;
}



.company-detail-item.full-width {
    grid-column: 1 / -1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .stat-number {
        font-size: 20px;
    }

    .company-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .action-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}
